- Timestamp:
- Apr 15, 2021, 8:48:48 AM (4 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 added
- 6 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairIpc/src/IpcX4.cpp
r397 r417 19 19 #include <IpcBldc.h> 20 20 #include <IpcUs.h> 21 #include < IpcAhrs.h>21 #include <PassthroughAhrs.h> 22 22 #include <IpcImu.h> 23 23 #include <BatteryMonitor.h> … … 49 49 SetUsRangeFinder(new IpcUs("us", 70, "altitude", 65)); 50 50 51 SetAhrs(new IpcAhrs("ahrs",70,"imu",65));51 SetAhrs(new PassthroughAhrs(new IpcImu("imu",70,"imu",65),"ahrs")); 52 52 53 53 Tab *bat_tab = new Tab(getFrameworkManager()->GetTabWidget(), "battery"); -
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.