mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 05:27:34 +08:00
2f91102808
Offboard is a bit too specifically tied to Offboard mode.
63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
functions:
|
|
# Note: do not change the index of existing functions, as it will break
|
|
# existing setups using it
|
|
common:
|
|
Disabled: 0
|
|
|
|
Constant_Min: 1
|
|
Constant_Max: 2
|
|
|
|
Motor:
|
|
start: 101
|
|
count: 12
|
|
Servo:
|
|
start: 201
|
|
count: 8
|
|
Peripheral_via_Actuator_Set:
|
|
start: 301
|
|
count: 6
|
|
|
|
Landing_Gear: 400
|
|
Parachute: 401
|
|
|
|
# Manual RC input (passthrough)
|
|
RC_Roll: 402
|
|
RC_Pitch: 403
|
|
RC_Throttle: 404
|
|
RC_Yaw: 405
|
|
RC_Flaps: 406
|
|
RC_AUX:
|
|
start: 407
|
|
count: 6
|
|
|
|
Gimbal_Roll: 420
|
|
Gimbal_Pitch: 421
|
|
Gimbal_Yaw: 422
|
|
|
|
Gripper: 430
|
|
|
|
Landing_Gear_Wheel: 440
|
|
|
|
# Add your own here:
|
|
#MyCustomFunction: 10000
|
|
|
|
pwm_fmu: # These only exist on FMU PWM pins
|
|
Camera_Trigger:
|
|
start: 2000
|
|
note:
|
|
condition: "TRIG_MODE==0"
|
|
text: "Camera triggering needs to be enabled and configured via TRIG_* parameters."
|
|
exclude_from_actuator_testing: true
|
|
Camera_Capture:
|
|
start: 2032
|
|
note:
|
|
condition: "CAM_CAP_FBACK==0"
|
|
text: "Camera feedback needs to be enabled and configured via CAM_CAP_* parameters."
|
|
exclude_from_actuator_testing: true
|
|
PPS_Input:
|
|
start: 2064
|
|
note:
|
|
condition: "PPS_CAP_ENABLE==0"
|
|
text: "PPS needs to be enabled via PPS_CAP_ENABLE parameter."
|
|
exclude_from_actuator_testing: true
|