Hi Guys
I get compile errors as noted below when creating
an airframe for the Ardu_IMU when using ~/conf/settings/tuning_ins.xml.: What to
do please?
Regards Stephen
I believe they are associated with the control
section of the settings file:
<dl_settings
NAME="control">
<dl_settings
NAME="ins">
<dl_setting
MAX="100" MIN="0" STEP="1" VAR="imu_health"
shortname="health"
module="subsystems/ahrs" />
<dl_setting MAX="100" MIN="0" STEP="1"
VAR="renorm_sqrt_count"
shortname="err_norm" module="subsystems/ahrs"
/>
<dl_setting MAX="100"
MIN="0" STEP="1" VAR="imu_overrun"
shortname="ADC overrun"
module="subsystems/imu" />
<dl_setting MAX="0.3" MIN="-0.3" STEP="0.01"
VAR="ins_roll_neutral"
shortname="roll_neutral"
module="subsystems/ahrs"
param="INS_ROLL_NEUTRAL_DEFAULT"
unit="rad"/>
<dl_setting
MAX="0.5" MIN="-0.3" STEP="0.01"
VAR="ins_pitch_neutral"
shortname="pitch_neutral"
param="INS_PITCH_NEUTRAL_DEFAULT"
unit="rad"/>
</dl_settings>
The errors are as
follows:
n file included
from
firmwares/fixedwing/main_ap.c:50:
/home/stephen/paparazzi/var/FJSRIMU/generated/settings.h:
In
function
`settings_get_value':
/home/stephen/paparazzi/var/FJSRIMU/generated/settings.h:173:
error:
`imu_health' undeclared (first use in this
function)
/home/stephen/paparazzi/var/FJSRIMU/generated/settings.h:173:
error:
(Each undeclared identifier is reported only
once
/home/stephen/paparazzi/var/FJSRIMU/generated/settings.h:173: error:
for
each function it appears
in.)
/home/stephen/paparazzi/var/FJSRIMU/generated/settings.h:174:
error:
`renorm_sqrt_count' undeclared (first use in this
function)
/home/stephen/paparazzi/var/FJSRIMU/generated/settings.h:175:
error:
`imu_overrun' undeclared (first use in this
function)
firmwares/fixedwing/main_ap.c: In function
`reporting_task':
firmwares/fixedwing/main_ap.c:194: error: `imu_health'
undeclared (first
use in this function)
firmwares/fixedwing/main_ap.c:194:
error: `renorm_sqrt_count' undeclared
(first use in this
function)
firmwares/fixedwing/main_ap.c:194: error: `imu_overrun'
undeclared
(first use in this function)
make[1]:
***
[/home/stephen/paparazzi/var/FJSRIMU/ap/firmwares/fixedwing/main_ap.o]
Error
1
make[1]: Leaving directory `/home/stephen/paparazzi/sw/airborne'
make:
*** [ap.compile] Error 2