Changeset 137 in flair-src for trunk/demos/Gps/uav


Ignore:
Timestamp:
Feb 14, 2017, 3:06:20 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

singleton manager

Location:
trunk/demos/Gps/uav/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/Gps/uav/src/DemoGps.cpp

    r122 r137  
    4545
    4646    //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);
    4949    gps->UseDefaultPlot();
    5050    getFrameworkManager()->AddDeviceToLog(gps);
  • trunk/demos/Gps/uav/src/main.cpp

    r122 r137  
    4646
    4747    Uav* drone=CreateUav(name,uav_type);
    48     TargetEthController *controller=new TargetEthController(manager,"Dualshock3",ds3port);
     48    TargetEthController *controller=new TargetEthController("Dualshock3",ds3port);
    4949    DemoGps* demo=new DemoGps(controller);
    5050
Note: See TracChangeset for help on using the changeset viewer.