paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Camera control via joystick


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Camera control via joystick
Date: Sat, 19 Feb 2011 23:43:16 +0100

You can also have a look at the cam branch, Chris Efstathiou added some more modes to the pan/tilt code (stabilized manual mode). You could either create a settings file for the pan/tilt setpoints and use it like Christophe suggested. I think that would be nice and require minimal changes.
(or you could add a message to use setpoints from the joystick instead of the RC.)

Cheers, Felix

On Sat, Feb 19, 2011 at 11:10 PM, Christophe De Wagter <address@hidden> wrote:
The joystick code from /sw/ground_segment/joystick can trigger any datalink message with the joystick or its buttons and some xml config. We used it to make take-off, standby and land joystick buttons using a teensy dev board. [http://www.youtube.com/watch?v=7TpZx6Z6m3k] Upon button presses the "block" message is sent, but you could also send other datalink messages.  

a ) Quick and dirty way: If you have a settings file that has cam_pitch and cam_roll, you can set the values directly with the joystick with the settings message. (look into /var/yourplane/generated/settings.h for the variable numbers) 
b) If there is a camera-direction message in messages.xml datalink part you can make a module that receives it.

Somebody a better idea? 


-Christophe 



On Sat, Feb 19, 2011 at 9:46 PM, Kurtis Kraemer <address@hidden> wrote:
Hi everyone.

I would like to be able to control the camera pan/tilt servos using a joystick at the GCS.
After some searching, I didn't find much that I could understand or use. I was able to use some of the information posted by Paul Cox, (http://paparazzi.enac.fr/wiki/Paul_Cox_Notes#Using_a_joystick_to_control_twog_servo), but it was of limited use.

I was able to read in the values from the joystick, but that's about it. I do not need to control the UAV using the joystick, just the camera pan/tilt.

I suppose I could cheat and just use another separate RC receiver and transmitter, where the pan/tilt servos are connected to their own Rx and controlled by the camera operator using a separate transmitter, but it just isn't very "elegant"...

It seems like several people have asked about joystick control and have made attempts at it, but there's not much information available on the subject. Any advice is appreciated.

- Kurtis
Ottawa, Canada

_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

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