paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Joystick control


From: Chris
Subject: [Paparazzi-devel] Joystick control
Date: Tue, 22 Feb 2011 23:00:12 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

Hi.
I am trying to control the aircraft with a Joystick through the modem.
The modem i use (9Xtend) can communicate reliably at 115200 even at 30km out so i guess
that control through it may be possible.
What i have done so far is to read the Joystick, load a message with the joystick values, send them to the aircraft and finally decode them in the autopilot code and load the "radio_control.values" array thus imitating the normal rc link.
I have also set up dummy control variables like the "RC_OK" flag etc.
What i am thinking is to drive this array which normally contains the decoded PPM frame with the values received from the the joystick (scaled of course) bypassing/replacing the rc section
of the autopilot.
Am i thinking rationally or this is the wrong way?
Any ideas welcomed :-)
Chris




reply via email to

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