Changeset 157 in flair-src for trunk/lib/FlairMeta/src/XAir.cpp
- Timestamp:
- 03/04/17 15:29:18 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/XAir.cpp
r137 r157 38 38 namespace meta { 39 39 40 XAir::XAir(string name, 40 XAir::XAir(string name, string options, 41 41 filter::UavMultiplex *multiplex) 42 42 : Uav(name, multiplex) { … … 61 61 62 62 void XAir::StartSensors(void) { 63 ((Gx3_25_ ahrs *)GetAhrs())->Start();63 ((Gx3_25_imu *)(GetAhrs()->GetImu()))->Start(); 64 64 ((Srf08 *)GetUsRangeFinder())->Start(); 65 65 ((Ps3Eye *)GetVerticalCamera())->Start(); 66 66 } 67 67 68 bool XAir::isReadyToFly(void) const { 69 return GetAhrs()->GetImu()->IsReady(); 70 } 71 68 72 } // end namespace meta 69 73 } // end namespace flair
Note:
See TracChangeset
for help on using the changeset viewer.