How froov30/digital_twin---mitsubishi_industrial_robot works
RV-8CRL Motion is a ROS 2/MoveIt workcell project combining closed-form inverse kinematics, motion planning, seeded pick-and-place, and a Gazebo factory simulation. The user-facing flow is to launch the configured robot and planning stack, run a task through MoveGroup, and—on the factory path—coordinate conveyor and grasp behavior in simulation. A separate benchmark branch generates planning inputs, measures planner performance, validates trajectories, and reports results. Some subsystem links are documented in the README; unsampled implementation details are represented only at their supported package paths.
Main entry points: conveyor_cell.py Conveyor-cell task · rv8crl_moveit_config MoveGroup · __init__.py MoveIt configuration · demo.launch.py Mock demo launch
Components 23
Robot kinematics
- Analytic IK
source/rv8crl_analytic_ik/src/rv8crl_ik.cpp - MoveIt IK plugin
source/rv8crl_analytic_ik/src/moveit_plugin.cpp - Robot description
source/rv8crl_description
Motion planning
- MoveIt configuration
source/rv8crl_moveit_config/rv8crl_moveit_config/__init__.py - Mock demo launch
source/rv8crl_moveit_config/launch/demo.launch.py - MoveGroup
source/rv8crl_moveit_config
Task execution
- Motion client
source/rv8crl_tasks/rv8crl_tasks/motion.py - Pick-place task
source/rv8crl_tasks/rv8crl_tasks/pick_place.py - Conveyor-cell task
source/rv8crl_tasks/rv8crl_tasks/conveyor_cell.py
Factory simulation
- Cell geometry
source/rv8crl_gazebo/rv8crl_gazebo/cell.py - World generator
source/rv8crl_gazebo/scripts/make_world.py - Factory launch
source/rv8crl_gazebo/launch/factory.launch.py - Joint-state filter
source/rv8crl_gazebo/rv8crl_gazebo/joint_state_filter.py - Conveyor system
source/rv8crl_gazebo/src/conveyor_system.cpp - Grasp attachment
source/rv8crl_gazebo/src/grasp_attach_system.cpp
Benchmarking
- Scene/query generator
source/rv8crl_bench/src/generate_scenes.cpp - Planning benchmark
source/rv8crl_bench/src/run_bench.cpp - Benchmark validation
source/rv8crl_bench/src/bench_common.cpp - Planner comparison
source/rv8crl_bench/scripts/compare_moveit_benchmarks.py - Result reporting
source/rv8crl_bench/report/make_report.py
Other components
- Operator
- Gazebo simulator
- Robot controller
Connections 25
- Operator → Mock demo launch: launches demo
source/rv8crl_moveit_config/launch/demo.launch.py - Mock demo launch → MoveIt configuration: builds parameters
source/rv8crl_moveit_config/launch/demo.launch.py - MoveIt configuration → Robot description: configures model
source/rv8crl_moveit_config/rv8crl_moveit_config/__init__.py - MoveIt configuration → MoveIt IK plugin: selects IK
- Analytic IK → MoveIt IK plugin: solves poses
source/rv8crl_analytic_ik/src/moveit_plugin.cpp - Mock demo launch → MoveGroup: starts
source/rv8crl_moveit_config/launch/demo.launch.py - Operator → Pick-place task: runs task
- Pick-place task → Motion client: uses client
source/rv8crl_tasks/rv8crl_tasks/pick_place.py - Conveyor-cell task → Motion client: uses client
source/rv8crl_tasks/rv8crl_tasks/conveyor_cell.py - Motion client → MoveGroup: requests motion
source/rv8crl_tasks/rv8crl_tasks/motion.py - MoveGroup → Robot controller: executes trajectory
- Operator → Factory launch: launches cell
- Factory launch → Gazebo simulator: starts simulation
- World generator → Cell geometry: renders geometry
source/rv8crl_gazebo/scripts/make_world.py - Conveyor-cell task → Cell geometry: shares geometry
source/rv8crl_tasks/rv8crl_tasks/conveyor_cell.py - Gazebo simulator → Joint-state filter: publishes joint states
- Joint-state filter → MoveGroup: filters joint states
- Conveyor-cell task → Conveyor system: commands belt
- Conveyor-cell task → Grasp attachment: commands grasp
- Grasp attachment → Conveyor-cell task: reports grasp state
- Operator → Scene/query generator: generates scenes
- Scene/query generator → Planning benchmark: provides queries
- Planning benchmark → Benchmark validation: validates paths
source/rv8crl_bench/src/run_bench.cpp - Operator → Planner comparison: compares planners
- Planner comparison → Result reporting: summarizes results