mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
Rover: Refresh config
This commit is contained in:
committed by
Lorenz Meier
parent
e74094db5a
commit
77e482a30e
@@ -4,24 +4,22 @@ set VEHICLE_TYPE rover
|
|||||||
|
|
||||||
# This section can be enabled once tuning parameters for this particular
|
# This section can be enabled once tuning parameters for this particular
|
||||||
# rover model are known. It allows to configure default gains via the GUI
|
# rover model are known. It allows to configure default gains via the GUI
|
||||||
#if [ $AUTOCNF == yes ]
|
if [ $AUTOCNF == yes ]
|
||||||
#then
|
then
|
||||||
# # param set MC_ROLL_P 7.0
|
# PWM default value for "disarmed" mode
|
||||||
#fi
|
# this centers the steering and throttle, which means no motion
|
||||||
|
# for a rover
|
||||||
|
param set PWM_DISARMED 1500
|
||||||
|
|
||||||
|
# PWM range
|
||||||
|
param set PWM_MIN 1200
|
||||||
|
param set PWM_MAX 1800
|
||||||
|
fi
|
||||||
|
|
||||||
# PWM Hz - 50 Hz is the normal rate in RC cars, higher rates
|
# PWM Hz - 50 Hz is the normal rate in RC cars, higher rates
|
||||||
# may damage analog servos.
|
# may damage analog servos.
|
||||||
set PWM_RATE 50
|
set PWM_RATE 50
|
||||||
|
|
||||||
# PWM default value for "disarmed" mode
|
|
||||||
# this centers the steering and throttle, which means no motion
|
|
||||||
# for a rover
|
|
||||||
set PWM_DISARMED 1500
|
|
||||||
|
|
||||||
# PWM range
|
|
||||||
set PWM_MIN 1200
|
|
||||||
set PWM_MAX 1800
|
|
||||||
|
|
||||||
# Enable servo output on pins 3 and 4 (steering and thrust)
|
# Enable servo output on pins 3 and 4 (steering and thrust)
|
||||||
# but also include 1+2 as they form together one output group
|
# but also include 1+2 as they form together one output group
|
||||||
# and need to be set together.
|
# and need to be set together.
|
||||||
|
|||||||
Reference in New Issue
Block a user