mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Need to use slightly different code to generate the InitMods.c function for
simulation because of the Attitude/Revolution format.
This commit is contained in:
parent
1763d0c72c
commit
c8a64ccbc7
@ -29,10 +29,12 @@
|
||||
#include <openpilot.h>
|
||||
#include <uavobjectsinit.h>
|
||||
|
||||
#include "attituderaw.h"
|
||||
#include "attitudeactual.h"
|
||||
#include "positionactual.h"
|
||||
#include "velocityactual.h"
|
||||
#include "accels.h"
|
||||
#include "baroaltitude.h"
|
||||
#include "gpsposition.h"
|
||||
#include "gyros.h"
|
||||
#include "gyrosbias.h"
|
||||
#include "magnetometer.h"
|
||||
#include "manualcontrolsettings.h"
|
||||
|
||||
#include "pios_rcvr_priv.h"
|
||||
@ -133,6 +135,13 @@ void PIOS_Board_Init(void) {
|
||||
UAVObjInitialize();
|
||||
UAVObjectsInitializeAll();
|
||||
|
||||
AccelsInitialize();
|
||||
BaroAltitudeInitialize();
|
||||
MagnetometerInitialize();
|
||||
GPSPositionInitialize();
|
||||
GyrosInitialize();
|
||||
GyrosBiasInitialize();
|
||||
|
||||
/* Initialize the alarms library */
|
||||
AlarmsInitialize();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user