-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommand.txt
34 lines (23 loc) · 959 Bytes
/
command.txt
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
terminator -l cartrasche
# roscore on
sudo chmod 777 /dev/ttyACM0
rosrun rosserial_python serial_node.py _baud:=57600 _port:=/dev/ttyACM0
sudo shutdown -h now
rostopic pub -r 0.5 /cmd_vel geometry_msgs/Twist -- '[0.5, 0.0, 0.0]' '[0.0, 0.0, 0.0]'
rostopic pub -r 0.5 /cmd_vel geometry_msgs/Twist -- '[0.0, 0.0, 0.0]' '[0.0, 0.0, 1.0]'
rostopic pub -r 0.5 /cmd_vel geometry_msgs/Twist -- '[0.0, 0.0, 0.0]' '[0.0, 0.0, 0.0]'
rostopic pub /cmd_vel geometry_msgs/Twist -- '[0.0, 0.0, 0.0]' '[0.0, 0.0, 0.0]'
# remote computer roscore
# jetson ssh terminal 3개 실행
-- terminal 1 serial 통신 --
sudo chmod 777 /dev/ttyACM0
rosrun rosserial_python serial_node.py _baud:=57600 _port:=/dev/ttyACM0
-- terminal 2 lidar on --
roslaunch sensor lidar_bringup.launch
-- terminal 3 slam launch --
roslaunch cartrasche_slam cartrasche_slam.launch
# synchronize
sudo systemctl restart chrony
# git pull from remote
git pull origin main