Table of Contents
2. Install ROS2 Foxy
# (WSL2)Terminal
$ mkdir -p ~/rvs_ws/src
$ cd ~/rvs_ws/src
$ git clone -b main https://github.com/Angledsugar/RobotVisionSystem.git
$ git clone -b main-ros2 https://github.com/Unity-Technologies/ROS-TCP-Endpoint.git
$ mv ./RobotVisionSystem/robotvisionsystem ./
$ mv ./RobotVisionSystem/robotvisionsystem_msgs ./
$ rm -rf RobotVisionSystem
$ cd ~/rvs_ws
$ colcon build --symlink-install
$ source install/setup.bash
$ cd ~/(install path)/Windows
$ ./RVS.exe
# (WSL2)Terminal 1
$ ros2 run ros_tcp_endpoint default_server_endpoint --ros-args -p ROS_IP:=127.0.0.1 -p ROS_TCP_PORT:=10000
# (WSL2)Terminal 2
$ ros2 run robotvisionsystem rvs