# 口罩戰車操作手冊 ## Environment Setting 1. Install Ros Noetic on Ubuntu 20.04 2. Clone repository on computer ``` # On computer $ git clone https://github.com/samuel95207/GLZ-1 ``` 3. Connect RPi and Computer to the same network 4. Set ip in network_env.sh for both RPi and computer. ROS_MASTER is the ip of computer, and ROS_IP is the ip of the device. 5. Build the project on computer ``` $ source environment.sh $ source catkin_make.sh ``` 6. Run roscore on computer ``` # On computer $ source network_env.sh $ source environment.sh $ roscore ``` 7. Run RPi program on RPi ``` # On RPi $ source network_env.sh $ source environment.sh $ source glz_start.sh ``` 8. Run computer program on computer ``` # On computer $ source network_env.sh $ source environment.sh $ source server_start.sh ```