Changeset 137 in flair-src for trunk/demos


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

singleton manager

Location:
trunk/demos
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/CircleFollower/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    CircleFollower* demo=new CircleFollower(controller);
    5050
  • 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
  • trunk/demos/OpticalFlow/uav/src/main.cpp

    r123 r137  
    5252
    5353    Uav* drone=CreateUav(name,uav_type);
    54     TargetEthController *controller=new TargetEthController(manager,"Dualshock3",ds3port);
     54    TargetEthController *controller=new TargetEthController("Dualshock3",ds3port);
    5555    DemoOpticalFlow* demo=new DemoOpticalFlow(controller);
    5656
  • trunk/demos/SimpleFleet/uav/src/main.cpp

    r122 r137  
    4747
    4848    Uav* drone=CreateUav(name,uav_type);
    49     TargetEthController *controller=new TargetEthController(manager,"Dualshock3",ds3port);
     49    TargetEthController *controller=new TargetEthController("Dualshock3",ds3port);
    5050    SimpleFleet* demo=new SimpleFleet(broadcast,controller);
    5151
  • trunk/demos/Skeletons/CustomReferenceAngles/src/main.cpp

    r122 r137  
    4545
    4646    Uav* drone=CreateUav(name,uav_type);
    47     TargetEthController *controller=new TargetEthController(manager,"Dualshock3",ds3port);
     47    TargetEthController *controller=new TargetEthController("Dualshock3",ds3port);
    4848    MyApp* app=new MyApp(controller);
    4949
  • trunk/demos/Skeletons/CustomTorques/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    MyApp* app=new MyApp(controller);
    5050
Note: See TracChangeset for help on using the changeset viewer.