Changeset 121 in flair-src for trunk/lib/FlairMeta
- Timestamp:
- Dec 22, 2016, 5:32:58 PM (8 years ago)
- Location:
- trunk/lib/FlairMeta/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/Uav.cpp
r15 r121 46 46 uav_vrpn = NULL; 47 47 verticalCamera = NULL; 48 horizontalCamera = NULL; 48 49 this->multiplex = multiplex; 49 50 } … … 76 77 void Uav::SetVerticalCamera(const Camera *inVerticalCamera) { 77 78 verticalCamera = (Camera *)inVerticalCamera; 79 } 80 81 void Uav::SetHorizontalCamera(const Camera *inHorizontalCamera) { 82 horizontalCamera = (Camera *)inHorizontalCamera; 78 83 } 79 84 /* … … 189 194 Camera *Uav::GetVerticalCamera(void) const { return verticalCamera; } 190 195 196 Camera *Uav::GetHorizontalCamera(void) const { return horizontalCamera; } 197 191 198 } // end namespace meta 192 199 } // end namespace flair -
trunk/lib/FlairMeta/src/Uav.h
r15 r121 78 78 meta::MetaVrpnObject *GetVrpnObject(void) const; 79 79 sensor::Camera *GetVerticalCamera(void) const; 80 sensor::Camera *GetHorizontalCamera(void) const; 80 81 81 82 protected: … … 86 87 void SetBatteryMonitor(const sensor::BatteryMonitor *battery); 87 88 void SetVerticalCamera(const sensor::Camera *verticalCamera); 89 void SetHorizontalCamera(const sensor::Camera *verticalCamera); 88 90 89 91 private: … … 97 99 MetaVrpnObject *uav_vrpn; 98 100 sensor::BatteryMonitor *battery; 99 sensor::Camera *verticalCamera ;101 sensor::Camera *verticalCamera,*horizontalCamera; 100 102 }; 101 103 } // end namespace meta
Note:
See TracChangeset
for help on using the changeset viewer.