|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] pan-tilt camera control |
Date: | Fri, 5 Apr 2013 13:44:23 +0200 |
Hello,
We are trying to control a pan-tilt camera. We added the lines in http://paparazzi.enac.fr/wiki/Pan_Tilt_Camera
to our Aircraft.xml file to the right place.
<section name="CAM" prefix="CAM_">
<define name="TILT_MAX" value="30" unit="deg"/>
<define name="TILT_NEUTRAL" value="0" unit="deg"/>
<define name="TILT_MIN" value="-30" unit="deg"/>
<define name="TILT0" value="0" unit="deg"/>
<define name="PAN_MAX" value="45" unit="deg"/>
<define name="PAN_NEUTRAL" value="0" unit="deg"/>
<define name="PAN_MIN" value="-45" unit="deg"/>
<define name="PAN0" value="0" unit="deg"/>
</section>
<modules main_freq="60"><load name="cam_point.xml"><define name="POINT_CAM_PITCH_ROLL" value="1"/><define name="SHOW_CAM_COORDINATES" value="1"/></load></modules>
It gives an error duing build but when “unit="deg" “ parts are removed, it builds successfully. It seems that the wiki must be updated.
Now we have 2 questions:1. How can we change the X_Y targets during flight?
2. We want to control the camera with a menu (button,...) on GCS simulation window. We want to send commands through uart or i2c port.
How can we add new buttons for camera control on GCS simulation window ? How can we add these commands to the datalink?
Cheers,
Refik
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |