paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Camera Target Coordinates


From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] Camera Target Coordinates
Date: Fri, 30 Mar 2012 15:00:06 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120310 Thunderbird/11.0

Hi,

Actually, loading the module cam_point should be enough to activate the control of the camera and the CAM message (at least before the latest improvements to the cam driver). With the settings cam.xml, you can also select which waypoint to use as a target (in mode cam target). The CAM message should contain the cam angles (pan, tilt) and the coordinates of the target. This message is relayed by the server to the GCS. In the menu of the GCS, click on your aircraft name and active the cam footprint. This display is not perfect, in particular the aperture is probably hard coded somewhere. But it shows the point where the camera is pointing, the footprint of the camera on the ground (flat earth), and the target point of the mission.

http://paparazzi.enac.fr/wiki/GCS#Display
http://paparazzi.enac.fr/wiki/Pan_Tilt_Camera

Gautier

Le 28/03/2012 18:58, Felix Ruess a écrit :
Hi Luke,

the downlink of the coordinates of where the cam is looking at was added by Chris Efstathiou. So I'm hoping he can provide some details here...
By skimming over the code it looks like you need to have SHOW_CAM_COORDINATES defined and add the CAM_POINT message to your telemetry file.
But sadly I don't know of any feature to directly show that point in the GCS...

The whole camera control (pan, tilt, directions, coordinates you are looking at, etc..) could use some serious love in terms of refactoring and documentation on the wiki.
Would be great if you (or anyone for that matter) could work on this (hopefully together with Chris)..
While I haven't used that, it seems to me that camera control and display it is also lacking some features (and proper documentation of course!), like definition of the field of view to display in the GCS, showing of the coordinates (assuming a flat ground surface) and direction the camera is looking. What is already there is probably of limited use if it is not properly shown in the GCS or documented how to make it available to other tools...

Cheers, Felix

On Tue, Mar 27, 2012 at 1:52 AM, Luke Ionno <address@hidden> wrote:
Hello all,

I've gotten the camera gimbal/stabilization module working almost perfectly,
except for one thing: I can't figure out how to downlink the camera target
coordinates...  I've been through the code, and see where they are
calculated, and have the various "define" statements in place in the
airframe configuration.  Based on my understanding of the code, when a
target it 'locked', the coordinates are written to a user-defined waypoint,
correct?  If so, is there a way to display those coordinates as a widget, or
do I just have to pull up the 'move waypoint' dialog, and pick them up from
there?  I do have the X/Y location of the camera waypoint in the telemetry,
but these don't seem  to be affected by the 'lock' command, and a proper
lat./long. output would be more useful in my particular application.

Thanks!

-Luke






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



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

reply via email to

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