-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstart_fusion.sh
executable file
·29 lines (26 loc) · 1.16 KB
/
start_fusion.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
cd catkin_ws
catkin_make
cd ..
source ./catkin_ws/devel/setup.bash
if [ -z "$1" ]; then
echo "Starting with default world..." # modified DataSpeed track
roslaunch fusion sitl.launch x:=7.58439 y:=-102.82 z:=0.02 R:=0 P:=0 Y:=1.57
elif [ "$1" == "track_jaerock2" ]; then
echo "Starting with $1..." # modified DataSpeed track
roslaunch fusion sitl.launch world:=$1 x:=7.58439 y:=-102.82 z:=0.02 R:=0 P:=0 Y:=1.57
elif [ "$1" == "track_bada" ]; then
echo "Starting with $1..." #### experimental
roslaunch fusion sitl.launch world:=$1 x:=0 y:=0 z:=0.179517 R:=0 P:=0 Y:=1.57
elif [ "$1" == "sonoma_raceway" ]; then
echo "Starting with $1..." #### experimental
roslaunch fusion sitl.launch world:=$1 x:=0 y:=0 z:=0.179517 R:=-0.001258 P:=-0.010927 Y:=2.4979
elif [ "$1" == "mcity_jaerock" ] ; then
echo "Starting with $1..." #### experimental
roslaunch fusion sitl.launch world:=$1 x:=3 y:=-12 z:=0.017607 R:=0 P:=0 Y:=0
elif [ "$1" == "simple_city" ] ; then
echo "Starting with $1..." #### experimental
roslaunch fusion sitl.launch world:=$1 x:=-35 y:=-1.6 z:=0 R:=0 P:=0 Y:=0
else
echo "Error: no $1.world file exist."
fi