Changeset 137 in flair-src for trunk/lib/FlairMeta/src/SimuX4.cpp
- Timestamp:
- Feb 14, 2017, 3:06:20 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairMeta/src/SimuX4.cpp
r122 r137 42 42 43 43 if (multiplex == NULL) 44 SetMultiplex(new X4X8Multiplex( getFrameworkManager(),"motors", X4X8Multiplex::X4));44 SetMultiplex(new X4X8Multiplex("motors", X4X8Multiplex::X4)); 45 45 46 46 SetBldc(new SimuBldc(GetUavMultiplex(), GetUavMultiplex()->GetLayout(), 47 47 "motors", GetUavMultiplex()->MotorsCount(), simu_id)); 48 SetUsRangeFinder(new SimuUs( getFrameworkManager(),"us", simu_id, 60));49 SetAhrs(new SimuAhrs( getFrameworkManager(),"imu", simu_id, 70));48 SetUsRangeFinder(new SimuUs("us", simu_id, 60)); 49 SetAhrs(new SimuAhrs("imu", simu_id, 70)); 50 50 Tab *bat_tab = new Tab(getFrameworkManager()->GetTabWidget(), "battery"); 51 51 SetBatteryMonitor(new BatteryMonitor(bat_tab->NewRow(), "battery")); 52 52 GetBatteryMonitor()->SetBatteryValue(12); 53 53 SetVerticalCamera( 54 new SimuCamera( getFrameworkManager(),"simu_cam_v", 320, 240, 3, simu_id, 10));54 new SimuCamera("simu_cam_v", 320, 240, 3, simu_id, 10)); 55 55 } 56 56
Note:
See TracChangeset
for help on using the changeset viewer.