mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
528f9a5ade
- generic pan/tilt gimbal control with several builtin modes - gimbal position and orientation configurable - specialization possible for gimbals not matching the default scheme (with an example using the Caddx GM3 3 axis gimbal) - remove all the old unused code using gimbal control
31 lines
931 B
XML
31 lines
931 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
<module name="gimbal_caddx_gm3" dir="cam_control" task="control">
|
|
<doc>
|
|
<description>
|
|
Caddx gm3 gimbal control.
|
|
|
|
Can be used with actuators SBUS (1 wire) or PWM (multiple wires).
|
|
Define a servo named GIMBAL_CADDX_ROLL in airframe to activate roll control.
|
|
</description>
|
|
</doc>
|
|
<settings>
|
|
<dl_settings>
|
|
<dl_settings NAME="gimbal gm3">
|
|
<dl_setting MAX="60." MIN="-60." STEP="1." module="cam_control/gimbal_caddx_gm3" VAR="gimbal_caddx_gm3_roll" shortname="roll" unit="rad" alt_unit="deg"/>
|
|
</dl_settings>
|
|
</dl_settings>
|
|
</settings>
|
|
<dep>
|
|
<depends>cam_gimbal</depends>
|
|
</dep>
|
|
<header>
|
|
<file name="gimbal_caddx_gm3.h"/>
|
|
</header>
|
|
<init fun="gimbal_caddx_gm3_init()"/>
|
|
<periodic fun="gimbal_caddx_gm3_periodic()" freq="10.0"/>
|
|
<makefile>
|
|
<file name="gimbal_caddx_gm3.c"/>
|
|
<test/>
|
|
</makefile>
|
|
</module>
|