[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Re: POI Camera Tracking?
From: |
Bart Remes |
Subject: |
[Paparazzi-devel] Re: POI Camera Tracking? |
Date: |
Sun, 9 May 2010 13:49:44 +0200 |
Hi Martin,
I also want to implement a pant tilt in mine twinjet.
your piont.c code have to work for mine TUdelftTwinjet.xml
When there are some other pant tilt codes available (Chris) please let me know.
Is there a wiki page on the camera pan tilt code?
I found this one
but there is no examples how to implement it in mine aircraft file.
is this all I need to add???
<servo name="CAM_PAN" no="3" min="2000" neutral="1550" max="1000"/>
<servo name="CAM_TILT" no="6" min="1000" neutral="1550" max="2000"/>
<axis name="CAM_TILT" failsafe_value="0"/>
<axis name="CAM_PAN" failsafe_value="0"/>
<set command="CAM_PAN" value="@YAW"/>
<set command="CAM_TILT" value="@GAIN1"/>
<set servo="CAM_PAN" value="@CAM_PAN"/>
<set servo="CAM_TILT" value="@CAM_TILT"/>
<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>
ap.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_PITCH_ROLL
ap.srcs += cam.c point.c
# Config for SITL simulation
sim.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_PITCH_ROLL
sim.srcs += cam.c point.c
kind regards Bart Remes
- [Paparazzi-devel] Re: POI Camera Tracking?,
Bart Remes <=