-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMINOS-SLAM.sh
26 lines (24 loc) · 955 Bytes
/
MINOS-SLAM.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
#!/bin/bash
cat /dev/null > abc.txt
cat /dev/null > abc2.txt
rm -ff /home/romi/frames/*
rm -ff /home/romi/ORB_SLAM/bin/TrackLost.jpg
rm -ff /home/romi/ORB_SLAM/bin/Tracking.jpg
clear
echo "Deleting Images"
rm -ff /home/romi/frames/*
echo "deleted Images"
echo "Starting ROSCORE"
roscore &
sleep 2
echo "Started ROSCORE"
cd /home/romi/minos #Following command runs MINOS
python3 -m minos.tools.pygame_client --dataset mp3d --scene_ids 17DRP5sb8fy --env_config pointgoal_mp3d_s --save_png --width 600 --height 400 --agent_config agent_gridworld -s map --navmap &
cd /home/romi/ORB_SLAM #Following command runs ORB_SLAM after a 10 second delay
sleep 5
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/home/romi
roslaunch ORB_SLAM ExampleGroovyOrNewer.launch &
sleep 5 #Following command runs the integration algorithm after a 10 second delay
cd /home/romi/catkin_ws
source devel/setup.bash
rosrun merger merger_node