This repository contains the vision system for the Eurobot 2026 competition.
On x86 computer:
cd docker/
docker compose up -dOn nvidia jetson computer:
cd docker/
docker compose -f compose.jetson.yaml up -d Attach to the running container:
docker exec -it vision-ws bashInside the container, build the workspace:
source /opt/ros/humble/setup.bash
colcon build
source install/setup.bashrs-enumerate-devicesMake sure the RealSense camera is connected via USB to your computer, then run:
ros2 launch realsense2_camera rs_launch.pyAfter launch the camera node in ros, you can check the camera info using following command:
ros2 topic echo /<your_camera_name>/<color or depth>/camera_infoIf you want to launch three camera at the same time, please run:
ros2 launch realsense2_camera rs_triple_camera_launch.pyros2 launch aruco_robot robot_launch.pyDescription: This launch will start three detector_node (each responsible for one of the three cameras) and one localizer_node to process and publish the detection data.
ros2 launch aruco_sima sima_launch.pyDescription: This launch will start three detector_node (each responsible for one of the three cameras) and one localizer_node to process and publish the detection data.
Open RViz to visualize camera images and TF frames:
rviz2Open RViz too
ros2 launch yolo hazelnut_detect_launch.pyteam:['blue', 'yellow']
ros2 param set /yolo_node_right team "blue"color_modes:['gray', 'rgb']
ros2 param set /yolo_node_right color_mode "rgb"modes:['region_status', 'score_predict', 'both']
ros2 param set /yolo_node_right mode "score_predict"locate_modes:["bb", "obb_dep", "obb_pnp", "obb_mix"]
ros2 param set /yolo_node_old locate_mode "obb_mix"ros2 param set /yolo_node_old co_dep_x 0.5
ros2 param set /yolo_node_old co_dep_y 0.5Save RGB pictures for yolo training datasets
ros2 run yolo save_color_training_data.pySave Depth pictures for yolo training datasets
ros2 run yolo save_depth_training_data.py