[Top][All Lists]

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

[Paparazzi-devel] pan-tilt camera control

From: refik
Subject: [Paparazzi-devel] pan-tilt camera control
Date: Fri, 5 Apr 2013 14:19:15 +0300



We are trying to control a pan-tilt camera. We added the lines in

 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"/>



<modules main_freq="60">
   <load name="cam_point.xml">
     <define name="POINT_CAM_PITCH_ROLL"  value="1"/>
     <define name="SHOW_CAM_COORDINATES" value="1"/>



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?



reply via email to

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