mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 00:37:34 +08:00
36f836be79
* add support for unmanned underwater vehicles: * airframe uuv_generic + uuv_hippocammpus including mav_type = 12 for submarines * mixer for UUVs with X-shaped thruster setup similar to quadcopter * add module uuv_att_control for underwater robot attitude control * add rc.uuv_defaults/apps for autostarting e.g. ekf2 and uuv_att_control app
36 lines
565 B
Bash
36 lines
565 B
Bash
#!/bin/sh
|
|
#
|
|
# UUV default parameters.
|
|
#
|
|
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
|
#
|
|
|
|
set VEHICLE_TYPE uuv
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set PWM_MAX 1950
|
|
param set PWM_MIN 1050
|
|
param set PWM_DISARMED 1500
|
|
|
|
fi
|
|
|
|
#
|
|
# PWM Hz - 50 Hz is the normal rate in RC cars, boats etc,
|
|
# higher rates may damage analog servos.
|
|
#
|
|
set PWM_RATE 50
|
|
|
|
#
|
|
# Enable servo output on pins 1-4
|
|
set PWM_OUT 1234
|
|
set PWM_DISARMED 1500
|
|
|
|
|
|
#
|
|
# This is the gimbal pass mixer.
|
|
#
|
|
set MIXER_AUX pass
|
|
set PWM_AUX_OUT 1234
|
|
set PWM_AUX_RATE 50
|