- Timestamp:
- Apr 27, 2017, 5:37:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/UavStateMachine.cpp
r167 r176 720 720 } 721 721 altitudeMode = newAltitudeMode; 722 GotoAltitude(desiredTakeoffAltitude->Value()); 722 //avoid starting trajectory at take off (it will be started when altitudeState==AltitudeState_t::Stabilized) 723 if(altitudeState!=AltitudeState_t::Stopped) GotoAltitude(desiredTakeoffAltitude->Value()); 723 724 724 725 return true;
Note:
See TracChangeset
for help on using the changeset viewer.