[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] ppm radio control modification
From: |
antoine drouin |
Subject: |
[Paparazzi-devel] ppm radio control modification |
Date: |
Thu, 2 Jul 2009 18:43:21 +0200 |
Hello
I have replaced the RADIO_CONTROL_TYPE flag from the airframe file by
a "pulse_type" flag in the radio control transmitter definition file
which can be either NEGATIVE (JR, Graupner) or POSITIVE (FUTABA,
Hitec, Multiplex) as this parameter really belong to the radio control
transmitter and not the particular aircraft.
So, to make it short, in the makefile part of your airframe frile you
used to have something like this
ap.CFLAGS += -DRADIO_CONTROL -DRADIO_CONTROL_TYPE=RC_FUTABA
ap.srcs += radio_control.c $(SRC_ARCH)/ppm_hw.c
remove the -DRADIO_CONTROL_TYPE=RC_FUTABA
and in your radio control configuration you use to have something like this
<radio name="cockpitSX (easy)" data_min="900" data_max="2100" sync_min
="5000" sync_max ="15000">
change it fo
<radio name="cockpitSX (easy)" data_min="900" data_max="2100" sync_min
="5000" sync_max ="15000" pulse_type="POSITIVE">
or
<radio name="cockpitSX (easy)" data_min="900" data_max="2100" sync_min
="5000" sync_max ="15000" pulse_type="NEGATIVE">
according to the brand of your transmitter
Regards
Poine
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Paparazzi-devel] ppm radio control modification,
antoine drouin <=