-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_record_pipeline.bash
executable file
·48 lines (38 loc) · 2.43 KB
/
run_record_pipeline.bash
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
40
41
42
43
44
45
46
47
tmux new-session -d; # start new detached tmux session
#rosbag
tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && clear' ENTER;
#tmux send 'ros2 bag record -a -o';
#perceptions
tmux split-window -h -p 100;
tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run perceptions endtoend_node' ENTER;
tmux split-window -h -p 70;
tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run hesai_ros_driver hesai_ros_driver_node' ENTER;
# tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run perceptions lidar_node' ENTER;
# tmux split-window -v -p 70;
# tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run perceptions cone_node_lidar' ENTER;
# tmux split-window -v -p 70;
# tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run perceptions yolov5_zed_node' ENTER;
# tmux split-window -h -p 100;
# tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run perceptions yolov5_zed2_node' ENTER;
#planning
# tmux split-window -h -p 50; # split the detached tmux session
# tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run perceptions midline_node' ENTER;
#TODO: raceline
#TODO: slam
# #controls
# tmux split-window -h -p 50; # split the detached tmux session
# tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run controls controller_node' ENTER;
#actuators
tmux split-window -h -p 50; # split the detached tmux session
tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run actuators throttle_node' ENTER;
#sbg
tmux split-window -h -p 60; # split the detached tmux session
tmux send 'source ~/movella_ws/install/setup.bash && ros2 run bluespace_ai_xsens_mti_driver xsens_mti_node' ENTER;
#controller
tmux split-window -h -p 70;
tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run controls controller';
# #actuator
# tmux split-window -v -p 70;
# tmux send 'source $DRIVERLESS/driverless_ws/install/setup.bash && ros2 run actuators throttle_node';
# open (attach) tmux session.
tmux a;