mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 01:53:34 +08:00
Modify 500001_axialracing_ax10 to utilize rc.ugv_defaults to allow deprecating rc.axialracing_ax10_apps and rc.axialracing_ax10_defaults and update CMakeLists.txt.
This commit is contained in:
@@ -313,9 +313,9 @@ then
|
||||
fi
|
||||
|
||||
#
|
||||
# Rover setup
|
||||
# UGV/Rover setup
|
||||
#
|
||||
if [ $VEHICLE_TYPE == rover ]
|
||||
if [ $VEHICLE_TYPE == ugv ]
|
||||
then
|
||||
# 10 is MAV_TYPE_GROUND_ROVER
|
||||
set MAV_TYPE 10
|
||||
@@ -324,7 +324,7 @@ then
|
||||
sh /etc/init.d/rc.interface
|
||||
|
||||
# Start standard rover apps
|
||||
sh /etc/init.d/rc.axialracing_ax10_apps
|
||||
sh /etc/init.d/rc.ugv_apps
|
||||
|
||||
param set MAV_TYPE 10
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user