|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] 'IMU_MAG_X_SENS' undeclared when using NPS |
Date: | Sun, 24 Jan 2016 15:38:49 +0100 |
Hello all,I use version v5.4.2_stable-3-gc8d866b-dirty and my board is UmarimLite 2.I am trying to compile NPS and I have added the following to my airframe file:<target name="nps" board="pc"><subsystem name="fdm" type="jsbsim"/></target><section name="SIMULATOR" prefix="NPS_"><define name="JSBSIM_MODEL" value=""Malolo1""/><define name="JSBSIM_LAUNCHSPEED" value="20"/><define name="COMMANDS_NB" value="3"/><define name="ACTUATOR_NAMES" value="{"throttle-cmd-norm", "aileron-cmd-norm", "elevator-cmd-norm"}"/><define name="SENSORS_PARAMS" value=""nps_sensors_params_invariant.h""/><define name="JS_AXIS_MODE" value="4"/><define name="BYPASS_AHRS" value="TRUE"/></section>And I get this error:/home/cgs/paparazzi/sw/simulator/nps/nps_sensor_mag.c: In function 'nps_sensor_mag_init':/home/cgs/paparazzi/sw/simulator/nps/nps_sensor_mag.c:12:3: error: 'IMU_MAG_X_SENS' undeclared (first use in this function)/home/cgs/paparazzi/sw/simulator/nps/nps_sensor_mag.c:12:3: note: each undeclared identifier is reported only once for each function it appears in/home/cgs/paparazzi/sw/simulator/nps/nps_sensor_mag.c:12:3: error: 'IMU_MAG_Y_SENS' undeclared (first use in this function)/home/cgs/paparazzi/sw/simulator/nps/nps_sensor_mag.c:12:3: error: 'IMU_MAG_Z_SENS' undeclared (first use in this function)make[1]: *** [/home/cgs/paparazzi/var/aircrafts/ziitst/nps//home/cgs/paparazzi/sw/simulator/nps/nps_sensor_mag.o] Error 1make[1]: *** Waiting for unfinished jobs....make[1]: Leaving directory `/home/cgs/paparazzi/sw/airborne'make: *** [nps.compile] Error 2make: Leaving directory `/home/cgs/paparazzi'I think it is related to the fact that the Umarim IMU does not have a mag, but I'm not sure how to fix it.ThanksJoseph
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |