Changeset 137 in flair-src for trunk/demos/Gps/uav/src
- Timestamp:
- Feb 14, 2017, 3:06:20 PM (8 years ago)
- Location:
- trunk/demos/Gps/uav/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/Gps/uav/src/DemoGps.cpp
r122 r137 45 45 46 46 //RTDM_SerialPort *serialport=new RTDM_SerialPort(getFrameworkManager(),"gps_serial","rtser2"); 47 //gps=new Mb800( getFrameworkManager(),"gps",serialport,(NmeaGps::NMEAFlags_t)(NmeaGps::GGA|NmeaGps::VTG),40);48 gps=new SimuGps( getFrameworkManager(),"gps",(NmeaGps::NMEAFlags_t)(NmeaGps::GGA|NmeaGps::VTG),0,40);47 //gps=new Mb800("gps",serialport,(NmeaGps::NMEAFlags_t)(NmeaGps::GGA|NmeaGps::VTG),40); 48 gps=new SimuGps("gps",(NmeaGps::NMEAFlags_t)(NmeaGps::GGA|NmeaGps::VTG),0,40); 49 49 gps->UseDefaultPlot(); 50 50 getFrameworkManager()->AddDeviceToLog(gps); -
trunk/demos/Gps/uav/src/main.cpp
r122 r137 46 46 47 47 Uav* drone=CreateUav(name,uav_type); 48 TargetEthController *controller=new TargetEthController( manager,"Dualshock3",ds3port);48 TargetEthController *controller=new TargetEthController("Dualshock3",ds3port); 49 49 DemoGps* demo=new DemoGps(controller); 50 50
Note:
See TracChangeset
for help on using the changeset viewer.