[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Can't use manual mode
From: |
Helge Walle |
Subject: |
Re: [Paparazzi-devel] Can't use manual mode |
Date: |
Tue, 11 Oct 2011 19:28:34 +0200 |
Hi Tasos,
Not knowing how your airframe and radio file looks like, here is how I have connected the RC channels in my airplane.
I have a standard setup with only aileron, elevator, rudder, throttle and the MODE switch.
ROLL, PITCH, THROTTLE and YAW from the RC receiver are connected to ch 1, 2, 3, 4 on the PPM board.
Ch 5, 6, 7 on the board are not connected.
MODE channel from the RC receiver is connected to the channel "MODE" (=ch 8 on the board).
The Radio file:
<!DOCTYPE radio SYSTEM "radio.dtd">
<radio name="T10CG" data_min="900" data_max="2100" sync_min="5000" sync_max="15000" pulse_type="POSITIVE">
<channel ctl="right_stick_horiz" function="ROLL" min="1936" neutral="1525" max="1110" average="0"/>
<channel ctl="right_stick_vert" function="PITCH" min="1107" neutral="1520" max="1933" average="0"/>
<channel ctl="left_stick_vert" function="THROTTLE" min="1107" neutral="1107" max="1933" average="0"/>
<channel ctl="left_stick_horiz" function="YAW" min="1929" neutral="1516" max="1104" average="0"/>
<channel ctl="switch_G" function="CALIB" min="963" neutral="963" max="2069" average="10"/>
<channel ctl="VRA" function="GAIN1" min="964" neutral="1489" max="2070" average="0"/>
<channel ctl="VRC" function="GAIN2" min="967" neutral="1511" max="2072" average="0"/>
<channel ctl="switch_C" function="MODE" min="2073" neutral="1520" max="966" average="10"/>
</radio>
In my airframe file:
.......
<!-- commands section -->
<servos>
<servo name="MOTOR" no="0" min="1107" neutral="1107" max="1933"/>
<servo name="AILERON" no="2" min="1936" neutral="1525" max="1110"/>
<servo name="ELEVATOR" no="3" min="1933" neutral="1520" max="1107"/>
<servo name="HATCH" no="4" min="963" neutral="963" max="2069"/>
<servo name="RUDDER" no="6" min="1929" neutral="1516" max="1104"/>
</servos>
<commands>
<axis name="ROLL" failsafe_value="0"/>
<axis name="PITCH" failsafe_value="0"/>
<axis name="THROTTLE" failsafe_value="0"/>
<axis name="YAW" failsafe_value="0"/>
<axis name="HATCH" failsafe_value="0"/>
</commands>
<rc_commands>
<set command="ROLL" value="@ROLL"/>
<set command="PITCH" value="@PITCH"/>
<set command="THROTTLE" value="@THROTTLE"/>
<set command="YAW" value="@YAW"/>
<set command="HATCH" value="@CALIB"/>
</rc_commands>
.......
<section name="MIXER">
<define name="COMBI_SWITCH" value="0.2"/>
</section>
.......
<command_laws>
<set servo="AILERON" value="@ROLL"/>
<set servo="ELEVATOR" value="@PITCH"/>
<set servo="MOTOR" value="@THROTTLE"/>
<set servo="RUDDER" value="@YAW - @ROLL*COMBI_SWITCH"/>
<set servo="HATCH" value="@HATCH"/>
</command_laws>
.......
Hope this helps,
Helge.
2011/10/11 Tasos Sagiotis
<address@hidden>
Hello,
I use a Tiny v2.11 autopilot wired according to
this
diagram. I am using the PPM method with a Futaba T6EXAP
transmiter (radio) and a Futaba R136F Receiver. The autopilot works
fine at the AUTO 2 mode with the PPM's LED staying constantly on.
When powering on the transmiter, the PPM's LED works as expected
blinking at 3Hz but I can't turn to manual mode nor with the
3-possition switch nor by turning to manual mode via the CGS. The
servo wont do anything when I am moving the transmiter' s sticks.
Any ideas?
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel