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