Changeset 137 in flair-src for trunk/lib/FlairMeta/src/HdsX8.cpp


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

singleton manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairMeta/src/HdsX8.cpp

    r122 r137  
    4242
    4343  if (multiplex == NULL)
    44     SetMultiplex(new X4X8Multiplex(getFrameworkManager(), "motors", X4X8Multiplex::X8));
     44    SetMultiplex(new X4X8Multiplex( "motors", X4X8Multiplex::X8));
    4545
    4646  SetBldc(new BlCtrlV2(GetUavMultiplex(), GetUavMultiplex()->GetLayout(),
    4747                       "motors", GetUavMultiplex()->MotorsCount(), i2cport));
    48   SetUsRangeFinder(new Srf08(getFrameworkManager(), "SRF08", i2cport, 0x70, 60));
    49   SetAhrs(new Gx3_25_ahrs(getFrameworkManager(), "imu", imu_port,
     48  SetUsRangeFinder(new Srf08("SRF08", i2cport, 0x70, 60));
     49  SetAhrs(new Gx3_25_ahrs("imu", imu_port,
    5050                          Gx3_25_imu::AccelerationAngularRateAndOrientationMatrix, 70));
    5151  SetBatteryMonitor(((BlCtrlV2 *)GetBldc())->GetBatteryMonitor());
    52   SetVerticalCamera(new Ps3Eye(getFrameworkManager(), "camv", 0, 50));
     52  SetVerticalCamera(new Ps3Eye("camv", 0, 50));
    5353}
    5454
Note: See TracChangeset for help on using the changeset viewer.