aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-02-28 11:20:49 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-02-28 11:20:49 +0100
commit07970689d4d326c9140bc128ddf495d056bf5fd6 (patch)
tree710cc47d2b181d9dc8adac73738e70613241485e /ROMFS
parent7e20d039e3ca5e7ec79981a3b5c25e68bbf09e5b (diff)
downloadpx4-firmware-07970689d4d326c9140bc128ddf495d056bf5fd6.tar.gz
px4-firmware-07970689d4d326c9140bc128ddf495d056bf5fd6.tar.bz2
px4-firmware-07970689d4d326c9140bc128ddf495d056bf5fd6.zip
Rover config: Add comments and set correct output group
Diffstat (limited to 'ROMFS')
-rw-r--r--ROMFS/px4fmu_common/init.d/rc.rover_defaults19
1 files changed, 12 insertions, 7 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.rover_defaults b/ROMFS/px4fmu_common/init.d/rc.rover_defaults
index bda3a9a66..23bf47df1 100644
--- a/ROMFS/px4fmu_common/init.d/rc.rover_defaults
+++ b/ROMFS/px4fmu_common/init.d/rc.rover_defaults
@@ -2,22 +2,27 @@
set VEHICLE_TYPE rover
-# i dont think AUTOCNF is needed here, can it be removed?
-
+# 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
# # param set MC_ROLL_P 7.0
#fi
-#PWM Hz
+# PWM Hz - 50 Hz is the normal rate in RC cars, higher rates
+# may damage analog servos.
set PWM_RATE 50
-#PWW default value for "disarmed" mode
+# 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
+# PWM range
set PWM_MIN 1200
set PWM_MAX 1800
-#enable servo output on pins 3 and 4 (steering and thrust)
-set PWM_OUT 34
+# Enable servo output on pins 3 and 4 (steering and thrust)
+# but also include 1+2 as they form together one output group
+# and need to be set together.
+set PWM_OUT 1234