|
From: | refik |
Subject: | [Paparazzi-devel] pan-tilt camera control |
Date: | Fri, 5 Apr 2013 14:19:15 +0300 |
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.
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. Cheers, Refik |
[Prev in Thread] | Current Thread | [Next in Thread] |