You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
814 B

#!nsh
#
# Standard defaults for rovers.
#
# NOTE: Script variables are declared/initialized/unset in the rcS script.
#
set VEHICLE_TYPE ugv
#
# This section can be enabled once tuning parameters for this particular
# rover model are known. It allows to configure default gains via the GUI.
#
if [ $AUTOCNF == yes ]
then
# PWM default value for "disarmed" mode.
# 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
# may damage analog servos.
#
set PWM_RATE 50
#
# Enable servo output on pins 3 and 4 (steering and thrust) but also
# include 1+2 as they form one output group and need to be set together.
#
set PWM_OUT 1234