paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] PPM Encoder and Lisa/L


From: Felix Ruess
Subject: Re: [Paparazzi-devel] PPM Encoder and Lisa/L
Date: Fri, 18 Nov 2011 14:23:26 +0100

Hi Jochen,

> Hmm ok thanks. Perhaps, can in the airframe file be a mistake?

Could be, but we can hardly tell without knowing your configuration...

> Because while building the software follow warning is shown:
>
> CC /home/amfis/paparazzi/var/Maja/ap/firmwares/fixedwing/main_fbw.o
> firmwares/fixedwing/main_fbw.c: In function 'event_task_fbw':
> firmwares/fixedwing/main_fbw.c:153: warning: array subscript is above array
> bounds

This is unrelated to the ppm input... (well, it will probably still
write values somewhere it shouldn't!)

> <servos>
>     <servo name="THROTTLE" no="3" min="1000" neutral="1000" max="2000"/>
>     <servo name="AILERON_LEFT" no="1" min="1000" neutral="1500" max="2000"/>
>     <servo name="AILERON_RIGHT" no="6" min="2000" neutral="1500"
> max="1000"/>
>     <servo name="ELEVATOR" no="2" min="2000" neutral="1500" max="1000"/>
>     <servo name="RUDDER" no="4" min="1100" neutral="1500" max="1900"/>
>   </servos>

The reason for above error is that you have set one servo no="6".
Since indexing starts at zero, this would be servo number 7 and unless
you added the define USE_SERVOS_7AND8 it won't work!


I'm not sure why in the picture of Lisa/L the servos are counted from
1 up, instead from 0.
Same actually goes for Lisa/M, there the servos in the picture are
counted from 1, while you have to put them in your airframe file
starting with 0...
Looks like an error to me.

Cheers, Felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]