Changeset 417 in flair-src for trunk/lib/FlairMeta/src/SimuX8.cpp


Ignore:
Timestamp:
Apr 15, 2021, 8:48:48 AM (5 months ago)
Author:
Sanahuja Guillaume
Message:

define and use passthrough ahrs

File:
1 edited

Legend:

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

    r286 r417  
    2121#include <X4X8Multiplex.h>
    2222#include <SimulatedImu.h>
    23 #include <SimulatedAhrs.h>
     23#include <PassthroughAhrs.h>
    2424#include <SimulatedBldc.h>
    2525#include <SimulatedUs.h>
     
    5151                       "motors", GetUavMultiplex()->MotorsCount(), simu_id,0));
    5252  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"));
    5454  Tab *bat_tab = new Tab(getFrameworkManager()->GetTabWidget(), "battery");
    5555  SetBatteryMonitor(new BatteryMonitor(bat_tab->NewRow(), "battery"));
Note: See TracChangeset for help on using the changeset viewer.