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


Ignore:
Timestamp:
06/23/17 17:33:03 (5 years ago)
Author:
Sanahuja Guillaume
Message:

maj imu

File:
1 edited

Legend:

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

    r185 r186  
    4949                       "motors", GetUavMultiplex()->MotorsCount(), simu_id,0));
    5050  SetUsRangeFinder(new SimuUs("us", simu_id,0, 60));
    51   SetAhrs(new SimuAhrs("imu", simu_id, 0,70));
     51  SetAhrs(new SimuAhrs("ahrs", simu_id, 0,70));
    5252  Tab *bat_tab = new Tab(getFrameworkManager()->GetTabWidget(), "battery");
    5353  SetBatteryMonitor(new BatteryMonitor(bat_tab->NewRow(), "battery"));
     
    7777  ((SimuCamera *)GetVerticalCamera())->Start();
    7878  ((SimuCamera *)GetHorizontalCamera())->Start();
    79   ((SimuGps *)GetGps())->Start();
     79  if(GetGps()) ((SimuGps *)GetGps())->Start();
    8080}
    8181
Note: See TracChangeset for help on using the changeset viewer.