-
Notifications
You must be signed in to change notification settings - Fork 113
/
run.sh
executable file
·41 lines (31 loc) · 924 Bytes
/
run.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
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
#open ros master
source ~/catkin_ws/devel/setup.bash
{
gnome-terminal -x bash -c "roscore;exec bash"
}&
# launch livox_ros_driver
sleep 3s
{
gnome-terminal -x bash -c "roslaunch livox_ros_driver livox_lidar.launch ;exec bash"
}&
# launch inertial_sense RTK
sleep 3s
{
gnome-terminal -x bash -c "roslaunch inertial_sense test.launch;exec bash"
}&
# launch lidar_camera_RTK synchronization
sleep 5s
{
gnome-terminal -x bash -c "roslaunch isee_synchronize synchronize.launch;exec bash"
}&
# run CamVox-SLAM node
sleep 5s
{
gnome-terminal -x bash -c "cd /home/zyw/catkin_ws/src/camvox/isee-camvox/;rosrun online camvox Vocabulary/ORBvoc.bin camvox/online/Livox.yaml 400;exec bash"
}
# record /isee_rgb /isee_depth /livox/lidar /imu topic
#sleep 5s
#{
# gnome-terminal -x bash -c "rosbag record -O /home/zyw/bag/camvox.bag -b 4096 /isee_rgb /isee_depth /livox/lidar /imu;exec bash"
#}