Changeset 216 in flair-src for trunk/lib/FlairMeta
- Timestamp:
- Feb 15, 2018, 4:44:23 PM (7 years ago)
- Location:
- trunk/lib/FlairMeta
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/CMakeLists.txt
r211 r216 26 26 ${CMAKE_CURRENT_SOURCE_DIR}/src/ 27 27 ${CMAKE_SYSROOT}/usr/include/opencv1 28 ${CMAKE_SYSROOT}/usr/include/opencv 28 29 ) 29 30 -
trunk/lib/FlairMeta/src/UavStateMachine.cpp
r214 r216 90 90 uZ->AddDeviceToLog(uYaw); 91 91 92 93 92 joy=new MetaDualShock3("uav high level controller",controller); 93 uav->GetAhrs()->AddPlot(joy->GetReferenceOrientation(),DataPlot::Blue); 94 94 95 95 altitudeMode = AltitudeMode_t::Manual; … … 484 484 joy->SetZRef(0); 485 485 486 uZ->SetDefaultOffset(); // positionne l'offset de compensation de la gravité à sa 487 // valeur initiale (station sol) 486 uZ->Reset(); 487 uRoll->Reset(); 488 uPitch->Reset(); 489 uYaw->Reset(); 488 490 489 491 uav->GetUavMultiplex()->LockUserInterface(); … … 569 571 uav->GetAhrs()->UnlockUserInterface(); 570 572 571 uZ->SetValues(0, 0);572 573 uZ->Reset(); 574 uRoll->Reset(); 575 uPitch->Reset(); 576 uYaw->Reset(); 573 577 } 574 578
Note:
See TracChangeset
for help on using the changeset viewer.