-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_slam.sh
executable file
·19 lines (14 loc) · 1.05 KB
/
test_slam.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# source /opt/ros/kinetic/setup.bash
# source devel/setup.bash
ws=/home/workspace/catkin_ws/
# xterm -e "cd ${ws}; source/devel/setub.bash; roslaunch turtlebot_gazebo turtlebot_world.launch world_file:=/home/workspace/catkin_ws/src/turtlebot_simulator/turtlebot_gazebo/worlds/playground.world" &
xterm -e "cd ${ws}; source/devel/setub.bash; roslaunch turtlebot_gazebo turtlebot_world.launch world_file:=${ws}/src/map/cho_world.world" &
# xterm -e "cd ${ws}; source/devel/setub.bash; roslaunch turtlebot_gazebo turtlebot_world.launch world_file:=/home/workspace/catkin_ws/src/turtlebot_simulator/turtlebot_gazebo/worlds/cho_world.world" &
# xterm -e "cd ${ws}; source/devel/setub.bash; roslaunch turtlebot_gazebo turtlebot_world.launch"&
sleep 5
xterm -e "cd ${ws}; source/devel/setub.bash; roslaunch turtlebot_gazebo gmapping_demo.launch" &
sleep 5
xterm -e "cd ${ws}; source/devel/setub.bash; roslaunch turtlebot_rviz_launchers view_navigation.launch" &
sleep 5
xterm -e "cd ${ws}; source/devel/setub.bash; roslaunch turtlebot_teleop keyboard_teleop.launch"