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


Ignore:
Timestamp:
Jan 19, 2017, 9:31:41 AM (8 years ago)
Author:
Sanahuja Guillaume
Message:

resolution bug vrpn client pas demarré

File:
1 edited

Legend:

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

    r122 r129  
    666666
    667667void UavStateMachine::EnterFailSafeMode(void) {
    668   SetAltitudeMode(AltitudeMode_t::Manual);
     668  if(altitudeState!=AltitudeState_t::StartLanding) SetAltitudeMode(AltitudeMode_t::Manual);//
    669669  SetOrientationMode(OrientationMode_t::Manual);
    670670  SetThrustMode(ThrustMode_t::Default);
Note: See TracChangeset for help on using the changeset viewer.