Changeset 185 in flair-src for trunk/lib/FlairMeta/src/Uav.cpp
- Timestamp:
- 06/14/17 11:46:03 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/Uav.cpp
r122 r185 26 26 #include <UavMultiplex.h> 27 27 #include <UsRangeFinder.h> 28 #include <NmeaGps.h> 28 29 #include <Bldc.h> 29 30 #include <cvmatrix.h> … … 57 58 verticalCamera = NULL; 58 59 horizontalCamera = NULL; 60 gps = NULL; 59 61 this->multiplex = multiplex; 60 62 } … … 91 93 void Uav::SetHorizontalCamera(const Camera *inHorizontalCamera) { 92 94 horizontalCamera = (Camera *)inHorizontalCamera; 95 } 96 97 void Uav::SetGps(const NmeaGps *inGps) { 98 gps=(NmeaGps*)inGps; 99 getFrameworkManager()->AddDeviceToLog(gps); 93 100 } 94 101 … … 148 155 meta_us->UseDefaultPlot(); 149 156 ahrs->UseDefaultPlot(); 157 if(gps!=NULL) gps->UseDefaultPlot(); 150 158 } 151 159 … … 168 176 Camera *Uav::GetHorizontalCamera(void) const { return horizontalCamera; } 169 177 178 NmeaGps *Uav::GetGps(void) const { return gps; } 179 170 180 } // end namespace meta 171 181 } // end namespace flair
Note:
See TracChangeset
for help on using the changeset viewer.