Changeset 164 in flair-src for trunk/lib/FlairMeta
- Timestamp:
- Mar 6, 2017, 10:12:13 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/UavStateMachine.cpp
r157 r164 460 460 flagZTrajectoryFinished = false; 461 461 462 if((altitudeState==AltitudeState_t::Stopped) && safeToFly && uav->isReadyToFly() ) {// && GetBatteryMonitor()->IsBatteryLow()==false)462 if((altitudeState==AltitudeState_t::Stopped) && safeToFly && uav->isReadyToFly() && uav->GetBatteryMonitor()->IsBatteryLow()==false) { 463 463 //The uav always takes off in fail safe mode 464 flagBatteryLow=false; 464 465 EnterFailSafeMode(); 465 466 joy->SetLedOFF(4);//DualShock3::led4
Note:
See TracChangeset
for help on using the changeset viewer.