YOLO Pick-and-Place#
Detect cubes and dice with YOLO and pick and place them. The detector moves to
a scan pose, visually servos over each detected object, picks it, and places it
in the per-class drop box. See Example Applications for the shared manipulator
setup. All commands run through mros.
Simulation#
Open the Isaac Sim scene:
~/workspaces/movensys-simulation/<MANIPULATOR_MODEL>/6a_robopoly_simulation.usdRun the simulator bridge:
mros ros2 launch movensys_manipulator_moveit_config sim_bridge.launch.py \ simulator:=isaacsim use_sim_time:=true
Launch the planner and service API:
mros ros2 launch movensys_manipulator_moveit_config moveit.launch.py use_sim_time:=true
mros ros2 launch movensys_manipulator_isaac_ros_config isaac_cumotion.launch.py use_sim_time:=true
Launch the YOLO cube and dice detector:
mros ros2 launch movensys_manipulator_perception yolo_dice_and_cube_detector.launch.py use_sim_time:=true
Execute the YOLO pick-and-place:
mros ros2 launch movensys_manipulator_moveit_config yolo_pick_and_place.launch.py use_sim_time:=true
(Pick/drop poses are loaded from
config/<MANIPULATOR_MODEL>/yolo_trajectory.yaml.)Debug the detections (optional):
ros2 run rqt_image_view rqt_image_view /yolo_dice_detector/debug_image ros2 run rqt_image_view rqt_image_view /yolo_cube_detector/debug_image
HIL#
Open the Isaac Sim scene:
~/workspaces/movensys-simulation/<MANIPULATOR_MODEL>/6b_robopoly_hil.usdStart WMX ROS2 for the manipulator (real WMX runtime) with
use_sim_time:=true.Launch the planner and service API with
use_sim_time:=true:mros ros2 launch movensys_manipulator_moveit_config moveit.launch.py use_sim_time:=true
mros ros2 launch movensys_manipulator_isaac_ros_config isaac_cumotion.launch.py use_sim_time:=true
Launch the YOLO detector:
mros ros2 launch movensys_manipulator_perception yolo_dice_and_cube_detector.launch.py use_sim_time:=true
Execute the YOLO pick-and-place:
mros ros2 launch movensys_manipulator_moveit_config yolo_pick_and_place.launch.py use_sim_time:=true
Real#
Open the Isaac Sim scene:
~/workspaces/movensys-simulation/<MANIPULATOR_MODEL>/6c_robopoly_real.usdStart WMX ROS2 for the manipulator on the robot (no
use_sim_time).Launch the planner and service API (no
use_sim_time):mros ros2 launch movensys_manipulator_moveit_config moveit.launch.py
mros ros2 launch movensys_manipulator_isaac_ros_config isaac_cumotion.launch.py
Launch the YOLO cube and dice detector:
mros ros2 launch movensys_manipulator_perception yolo_dice_and_cube_detector.launch.py
Debug the detections (optional):
ros2 run rqt_image_view rqt_image_view /yolo_dice_detector/debug_image ros2 run rqt_image_view rqt_image_view /yolo_cube_detector/debug_image
(optional) Execute the YOLO pick-and-place:
mros ros2 launch movensys_manipulator_moveit_config yolo_pick_and_place.launch.py
Note
The YOLO pick-and-place is the perception layer used by the Robopoly Game (VLM / LLM), which adds voice and VLM/LLM control on top.