paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] ATMMega PPM Encoder


From: Chris Gough
Subject: Re: [Paparazzi-devel] ATMMega PPM Encoder
Date: Sun, 22 Apr 2012 07:38:09 +1000

Hi Alfonso,

For diagnosis, I suggest you add this to the FBW section of your
telemetry file if it's not there already:
--------------------------
    <mode name="debug">
      <message name="PPM"                 period="0.5"/>
      <message name="RC"                  period="0.5"/>
      <message name="COMMANDS"            period="0.5"/>
      <message name="FBW_STATUS"          period="1"/>
      <message name="ACTUATORS"           period="5"/>
    </mode>
--------------------------
see http://paparazzi.enac.fr/wiki/Telemetry for details

and then add this to your airframe file appropriate firmware section
of your airframe file (e.g. fixedwing)
----------------
    <define name="TELEMETRY_MODE_FBW" value="1"/>
----------------

The value ("1" in this case) is the xero-indexed position of the debug
mode you added above, in my example there are two, and the second one
is "debug" (first is "default". index "0").

see http://paparazzi.enac.fr/wiki/Radio_Control#Measuring_the_PPM_time_values
for details

Then, with the messages tool, the check the PPM message - it will show
you the output of the PPM encoder (assuming it's arriving at the
autopilot, no broken wires etc). If you get "all zeros" in the PPM
messages, your PPM encoder board is broken or set up wrong. If you get
PPM that reflects what you are doing with your radio, but the
actuators are not changing, then your problem is somewhere else.

Chris Gough

On 4/21/12, Alfonso Garrido <address@hidden> wrote:
>
> Hello everybody,
>
>
> I am having problems with my RC link. I have been looking through and I
> think it may be caused by the JR1 jump. I have read about how to do it in
> the documentation but I guess I have a different board since the scheme
> there does not match my board. Could anybody please tell me where is the JR1
> located in my board (see attached pic)?
>
>
> I am also having troubles with the RC messages. When I click on
> Tools-->Messages, the servos does not respond to the sticks of the RC even
> though I have configured the airframe and radio file accordingly, so I guess
> there is something wrong. Any hint?
>
>
> Thanks.                                       


-- 
.



reply via email to

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