Hi,
You also need to load the mavlink_decoder module with the proper settings.
Something like this:
<load name="mavlink_decoder.xml">
<configure name="MAVLINK_PORT" value="UART0"/>
<configure name="MAVLINK_BAUD" value="B115200"/>
</load>
<load name="px4flow.xml"/>
Gautier
Le 16/06/2014 14:58, Dirk Steindorf a écrit :
Hi,
I want to use the flow sensor, but when I try to build everything I
get the following error:
/home/finken/paparazzi/var/Quad_Lia_ovgu/ap/modules/optical_flow/px4flow.o:
In function `mavlink_register_msg':
/home/finken/paparazzi/sw/airborne/./modules/datalink/mavlink_decoder.h:166: undefined reference to
`mavlink_tp'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/finken/paparazzi/var/Quad_Lia_ovgu/ap/ap.elf] Error 1
make[1]: Leaving directory `/home/finken/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
In the airframe I tried to load it like this:
<modules>
<load name="px4flow.xml" />
</modules>
Do you an idea what might cause the error?
Cheers,
Dirk
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel