mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 02:33:33 +08:00
15 lines
242 B
Bash
15 lines
242 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Plane SITL with camera
|
|
#
|
|
|
|
sh /etc/init.d-posix/airframes/1030_plane
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
# Camera trigger interface is MAVLink
|
|
param set TRIG_INTERFACE 3
|
|
# Distance trigger mode enabled
|
|
param set TRIG_MODE 4
|
|
fi
|