Hi.
If anyone knows what causes a module to fail with a message like the
one below let me know.
Any help welcomed because my head hurts....
ERROR MESSAGES:
D
/home/hendrix/paparazzi/var/aircrafts/Easystar_matek_f405_wing_simple/ap/ap.elf
/home/hendrix/paparazzi/var/aircrafts/Easystar_matek_f405_wing_simple/ap/firmwares/fixedwing/main_ap.o:
In function `modules_default_init':
/home/hendrix/paparazzi/var/aircrafts/Easystar_matek_f405_wing_simple/ap/generated/modules.h:94:
undefined reference to `parachute_init'
/home/hendrix/paparazzi/var/aircrafts/Easystar_matek_f405_wing_simple/ap/firmwares/fixedwing/main_ap.o:
In function `modules_default_periodic_task':
/home/hendrix/paparazzi/var/aircrafts/Easystar_matek_f405_wing_simple/ap/generated/modules.h:152:
undefined reference to `parachute_periodic'
collect2: error: ld returned 1 exit status
/home/hendrix/paparazzi/conf/Makefile.stm32:239: recipe for target
'/home/hendrix/paparazzi/var/aircrafts/Easystar_matek_f405_wing_simple/ap/ap.elf'
failed
make[1]: ***
[/home/hendrix/paparazzi/var/aircrafts/Easystar_matek_f405_wing_simple/ap/ap.elf]
Error 1
make[1]: Leaving directory '/home/hendrix/paparazzi/sw/airborne'
Makefile.ac:211: recipe for target 'ap.compile' failed
make: *** [ap.compile] Error 2
make: Leaving directory '/home/hendrix/paparazzi'
FAILED 'make -C /home/hendrix/paparazzi -f Makefile.ac
AIRCRAFT=Easystar_matek_f405_wing_simple ap.compile' with code 2
All the functions are defined and i can't find anything wrong with the
xml file
MODULE XML FILE:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="my_parachute" dir="my_parachute">
<doc>
<description>Parachute</description>
<configure name="PARACHUTE_DESCENT_RATE" value="3.0"
description="calculated descent rate in meters/second"/>
<configure name="PARACHUTE_WIND_CORRECTION" value="1.0"
description="to estimate the landing spot better"/>
<configure name="PARACHUTE_LINE_LENGTH" value="3.0"
description="the parachute to plane distance in meters."/>
</doc>
<settings>
<dl_settings>
<dl_settings NAME="Parachute">
<dl_setting MAX="1" MIN="0" STEP="1" VAR="deploy_parachute_var"
shortname="deploy parachute">
<!-- <strip_button name="parachute" icon="on.png" value="1"
group="parachute" /> -->
</dl_setting>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="parachute_and_wind.h"/>
</header>
<init fun="parachute_init()"/>
<periodic fun="parachute_periodic()" freq="4"/>
<makefile>
<define name="USE_PARACHUTE" value="1"/>
<define name="WIND_INFO"/>
<define name="WIND_INFO_RET"/>
<define name="PARACHUTE_DESCENT_RATE" value="3.0" />
<define name="PARACHUTE_WIND_CORRECTION" value="0.5" />
<define name="PARACHUTE_LINE_LENGTH" value="3.0" />
<file name="parachute_and_wind.c"/>
</makefile>
</module>
_______________________________________________
Paparazzi-devel mailing list
Paparazzi-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel