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


Ignore:
Timestamp:
04/27/17 17:49:17 (5 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.