Changeset 177 in flair-src for trunk/lib/FlairMeta


Ignore:
Timestamp:
Apr 27, 2017, 5:49:17 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

use current zvel when switching from starttakingoff to stabilized into the traj generator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairMeta/src/UavStateMachine.cpp

    r176 r177  
    279279    if (currentAltitude > groundAltitude + 0.03) {
    280280      altitudeTrajectory->StartTraj(currentAltitude,
    281                                     desiredTakeoffAltitude->Value());
     281                                    desiredTakeoffAltitude->Value(),currentVerticalSpeed);
    282282      altitudeState = AltitudeState_t::Stabilized;
    283283      SignalEvent(Event_t::Stabilized);
Note: See TracChangeset for help on using the changeset viewer.