Changeset 417 in flair-src for trunk/lib/FlairMeta/src
- Timestamp:
- Apr 15, 2021, 8:48:48 AM (4 years ago)
- Location:
- trunk/lib/FlairMeta/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/HdsX8.cpp
r403 r417 22 22 #include <RTDM_SerialPort.h> 23 23 #include <Srf08.h> 24 #include <Gx3_25_ahrs.h> 24 #include <PassthroughAhrs.h> 25 #include <Gx3_25_imu.h> 25 26 #include <BlCtrlV2.h> 26 27 #include <X4X8Multiplex.h> … … 50 51 "motors", GetUavMultiplex()->MotorsCount(), i2cport)); 51 52 SetUsRangeFinder(new Srf08("SRF08", i2cport, 0x70, 60)); 52 SetAhrs(new Gx3_25_ahrs("ahrs", imu_port,53 Gx3_25_imu::AccelerationAngularRateAndOrientationMatrix, 70));53 54 SetAhrs(new PassthroughAhrs(new Gx3_25_imu("imu",imu_port,Gx3_25_imu::AccelerationAngularRateAndOrientationMatrix, 70),"ahrs")); 54 55 SetBatteryMonitor(((BlCtrlV2 *)GetBldc())->GetBatteryMonitor()); 55 56 -
trunk/lib/FlairMeta/src/SimuX4.cpp
r286 r417 21 21 #include <X4X8Multiplex.h> 22 22 #include <SimulatedImu.h> 23 #include < SimulatedAhrs.h>23 #include <PassthroughAhrs.h> 24 24 #include <SimulatedBldc.h> 25 25 #include <SimulatedUs.h> … … 51 51 "motors", GetUavMultiplex()->MotorsCount(), simu_id,0)); 52 52 SetUsRangeFinder(new SimulatedUs("us", simu_id,0, 60)); 53 SetAhrs(new SimulatedAhrs("ahrs", simu_id, 0,70));53 SetAhrs(new PassthroughAhrs(new SimulatedImu("imu", simu_id,0, 70),"ahrs")); 54 54 Tab *bat_tab = new Tab(getFrameworkManager()->GetTabWidget(), "battery"); 55 55 SetBatteryMonitor(new BatteryMonitor(bat_tab->NewRow(), "battery")); -
trunk/lib/FlairMeta/src/SimuX8.cpp
r286 r417 21 21 #include <X4X8Multiplex.h> 22 22 #include <SimulatedImu.h> 23 #include < SimulatedAhrs.h>23 #include <PassthroughAhrs.h> 24 24 #include <SimulatedBldc.h> 25 25 #include <SimulatedUs.h> … … 51 51 "motors", GetUavMultiplex()->MotorsCount(), simu_id,0)); 52 52 SetUsRangeFinder(new SimulatedUs("us", simu_id,0, 60)); 53 SetAhrs(new SimulatedAhrs("ahrs", simu_id, 0,70));53 SetAhrs(new PassthroughAhrs(new SimulatedImu("imu", simu_id,0, 70),"ahrs")); 54 54 Tab *bat_tab = new Tab(getFrameworkManager()->GetTabWidget(), "battery"); 55 55 SetBatteryMonitor(new BatteryMonitor(bat_tab->NewRow(), "battery")); -
trunk/lib/FlairMeta/src/XAir.cpp
r403 r417 22 22 #include <RTDM_SerialPort.h> 23 23 #include <Srf08.h> 24 #include <Gx3_25_ahrs.h> 24 #include <PassthroughAhrs.h> 25 #include <Gx3_25_imu.h> 25 26 #include <AfroBldc.h> 26 27 #include <X4X8Multiplex.h> … … 51 52 "motors", GetUavMultiplex()->MotorsCount(), i2cport)); 52 53 SetUsRangeFinder(new Srf08("SRF08", i2cport, 0x70, 60)); 53 SetAhrs(new Gx3_25_ahrs("imu", imu_port,54 Gx3_25_imu::AccelerationAngularRateAndOrientationMatrix, 70));54 SetAhrs(new PassthroughAhrs(new Gx3_25_imu("imu",imu_port,Gx3_25_imu::AccelerationAngularRateAndOrientationMatrix, 70),"ahrs")); 55 55 56 Tab *bat_tab = new Tab(getFrameworkManager()->GetTabWidget(), "battery"); 56 57 SetBatteryMonitor(new BatteryMonitor(bat_tab->NewRow(), "battery"));
Note:
See TracChangeset
for help on using the changeset viewer.