[Top][All Lists]

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

Re: [Paparazzi-devel] a question about joystick

From: Refik Sever
Subject: Re: [Paparazzi-devel] a question about joystick
Date: Thu, 29 Aug 2013 10:11:37 +0300

Hi Felix,


We want to fly with joystick in Auto2 in a certain flight plan block.  


Thank you for your suggestions. We will try tomorrow.






From: address@hidden [mailto:address@hidden On Behalf Of Felix Ruess
Sent: Thursday, August 29, 2013 12:00 AM
To: Paparazzi devel list
Subject: Re: [Paparazzi-devel] a question about joystick


Hi Refik,


the joystick subsystem is rather redundant in that case (all it does is add the USE_JOYSTICK), so I removed it in master...


Now do you want to completely replace the "normal" RC by a joystick or just be able to fly with joystick in AUTO2 while in a certain flight plan block.

If you want the former, use the <subsystem name="radio_control" type="datalink"/> and use a input2ivy conf file to send e.g. the RC_4CH message.


If you want the latter, it probably needs a bit more work: you need to add an extra block to the flight plan and set the joystick_block to that block id.

Then send the JOYSTICK_RAW message by an appropriate config file for input2ivy...


Hope that helps...

Cheers, Felix


On Wed, Aug 28, 2013 at 10:40 PM, Refik Sever <address@hidden> wrote:


We are trying to use joystick.

We added joystick driver, it is working properly in ubuntu. Then, we choose flight plan as "joystick.xml". We also added these two lines to our airframe:

<define name="USE_JOYSTICK" value="1"/> 
  <subsystem name="joystick"/>

we added these lines to control_panel.xml

<program name="Joystick" command="sw/ground_segment/joystick/input2ivy">
<arg flag="-b" variable="ivy_bus"/>

We typed this command on terminal:
~/paparazzi/sw/ground_segment/joystick$ ./input2ivy -ac Umarim_Lite ikarus_usb.xml

When we run  ~/paparazzi/sw/ground_segment/joystick$ ./test_stick we can see the axis and values of joystick.

We uploaded the code and switched to joystick block in GCS (in auto2 mode) but it did not work. We also can not see anything related to joystick in messages.

Is there anybody using joystick? Our paparazzi_version is v5.1_devel-155-g3685c50-dirty


Paparazzi-devel mailing list


reply via email to

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