mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
renamed apps and default config files too to match the model's name
This commit is contained in:
parent
77142f2da7
commit
9f99f7a79b
@ -1,10 +1,10 @@
|
||||
#!nsh
|
||||
#
|
||||
# Generic rover
|
||||
# loading default values for the axialracing ax10
|
||||
#
|
||||
|
||||
#load some defaults e.g. PWM values
|
||||
sh /etc/init.d/rc.rover_defaults
|
||||
sh /etc/init.d/rc.axialracing_ax10_defaults
|
||||
|
||||
#choose a mixer, for rover control we need a plain passthrough to the servos
|
||||
set MIXER IO_pass
|
||||
|
||||
@ -19,8 +19,8 @@ set PWM_RATE 50
|
||||
set PWM_DISARMED 1500
|
||||
|
||||
# PWM range
|
||||
set PWM_MIN 1200
|
||||
set PWM_MAX 1800
|
||||
set PWM_MIN 1100
|
||||
set PWM_MAX 1900
|
||||
|
||||
# Enable servo output on pins 3 and 4 (steering and thrust)
|
||||
# but also include 1+2 as they form together one output group
|
||||
@ -18,7 +18,7 @@ set MODE autostart
|
||||
set FRC /fs/microsd/etc/rc.txt
|
||||
set FCONFIG /fs/microsd/etc/config.txt
|
||||
|
||||
set TUNE_ERR ML<<CP4CP4CP4CP4CP4
|
||||
#set TUNE_ERR ML<<CP4CP4CP4CP4CP4
|
||||
|
||||
#
|
||||
# Try to mount the microSD card.
|
||||
@ -621,7 +621,7 @@ then
|
||||
# Start standard rover apps
|
||||
if [ $LOAD_DAPPS == yes ]
|
||||
then
|
||||
sh /etc/init.d/rc.rover_apps
|
||||
sh /etc/init.d/rc.axialracing_ax10_apps
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user