mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:58:53 +08:00
Further fixing up parameters
This commit is contained in:
committed by
Julian Oes
parent
2b79684f29
commit
2406aa8b50
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user