1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +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:
James Cotton 2012-03-11 15:26:14 -05:00
parent 1763d0c72c
commit c8a64ccbc7

View File

@ -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();