Further fixing up parameters

This commit is contained in:
Timothy Scott
2019-08-05 02:45:33 -07:00
committed by Julian Oes
parent 2b79684f29
commit 2406aa8b50
5 changed files with 70 additions and 51 deletions
@@ -17,8 +17,6 @@
sh /etc/init.d/rc.rover_defaults
roboclaw start /dev/ttyS3 128 1200
if [ $AUTOCNF = yes ]
then
param set BAT_N_CELLS 4
@@ -68,8 +66,18 @@ then
# Enable Airspeed check circuit breaker because Rovers will have no airspeed sensor
param set CBRK_AIRSPD_CHK 162128
# Differential drive acts like ackermann steering with a maximum turn angle of 180 degrees, or pi radians
param set GND_MAX_ANG 3.1415
param set RBCLW_BAUD 8
param set RBCLW_COUNTS_REV 1200
param set RBCLW_ADDRESS 128
fi
# Start this driver after setting parameters, because the driver uses some of those parameters.
roboclaw start /dev/ttyS3
# Configure this as rover
set MAV_TYPE 10