have a look in
conf/modules/sonar_maxbotix_booz.xml, there you can see that you need to configure the ADC to use, so e.g.
<modules main_freq="512">
<load name="sonar_maxbotix_booz.xml">
<configure name="ADC_SONAR" value="ADC_0"/>
</load>
</modules>
Cheers, Felix
On Wed, Mar 14, 2012 at 11:48 AM, Loic Drumettaz
<address@hidden> wrote:
Hello,
I'm trying to add a maxbotix sonar to my quadrotor. I added the coresponding module in my configuration and i get the following error during the compilation:
CC /home/paparazzi/paparazzi/var/DDQUAD/ap/modules/sonar/sonar_maxbotix.o
modules/sonar/sonar_maxbotix.c: In function 'maxbotix_init':
modules/sonar/sonar_maxbotix.c:36: error: expected _expression_ before ',' token
make[1]: *** [/home/paparazzi/paparazzi/var/DDQUAD/ap/modules/sonar/sonar_maxbotix.o] Error 1
make[1]: Leaving directory `/home/paparazzi/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/paparazzi/paparazzi'
Thanks for help!
Loïc
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel