--- language: - en license: apache-2.0 pipeline_tag: robotics tags: - OpenRAL - rskill - ros2 - moveit - aloha_agilex - droid_franka_robotiq - franka_panda - g1 - makermods_metal - makermods_metal_station - openamrobot_v2 - openarm_v2 - panda_mobile - r1pro - rizon4 - rizon_dual - so100_follower - so101_follower - ur10e - ur5e - rskill-kind:ros_action - rskill-role:s1 - embodiment:aloha_agilex - embodiment:droid_franka_robotiq - embodiment:franka_panda - embodiment:g1 - embodiment:makermods_metal - embodiment:makermods_metal_station - embodiment:openamrobot_v2 - embodiment:openarm_v2 - embodiment:panda_mobile - embodiment:r1pro - embodiment:rizon4 - embodiment:rizon_dual - embodiment:so100_follower - embodiment:so101_follower - embodiment:ur10e - embodiment:ur5e - rskill-license:apache-2.0 inference: false openral: description: 'Move an arm or camera with MoveIt, collision-free. target: "named_pose" (e.g. "home", the robot''s declared pose), "pose" (an end effector''s tip to a position/orientation), "look_at" (aim `camera` at a point, or a direction like [1, 0, -0.5]), or "joints". Name the end effector with `arm` when the robot has several.' model_family: null min_vram_gb: null latency_ms: 2000.0 runtime: pytorch dtype: fp32 --- # rskill-moveit-multi-motion One MoveIt rSkill for every robot OpenRAL ships: plan an arm or a camera, collision-free, from a goal in the robot's own terms. ## Preview ![MuJoCo render of a real MoveIt plan: Franka Panda moving its hand to a pose goal](media/preview.png) A render, not a diagram: a real `move_group` (OMPL, plan-only) plan for the goal `{"target": "pose", "arm": "panda_hand", "pose": {"position": [0.35, 0.45, 0.25], "orientation_rpy": [3.14159, 0, 0]}}`, lowered by this skill on the Franka's generated MoveIt model and replayed on the MuJoCo Menagerie Panda: the start and a midway waypoint are ghosted, the blue line is the `panda_link8` path to the goal. ## What this skill does The reasoner sends one of four goals in `goal_params_json`: - `{"target": "named_pose", "named_pose": "home"}`: the arms to the manifest's `home_pose`. - `{"target": "pose", "arm": "", "pose": {"position": [...], "orientation_rpy": [...]}}`: an end effector's tip link to a pose. - `{"target": "look_at", "camera": "", "look_at": {"direction": [1, 0, -0.5]}}` (or `target_xyz`): aim a camera a joint chain moves. - `{"target": "joints", "joints": {"": value}}`: joint targets. ## How it works `openral_rskill.moveit_goal.lower_moveit_goal` lowers the goal onto the joint, pose or look-at adapter over `ROSActionRskill`, in a planning group of the robot's MoveIt model: `openral_home`, one group per end effector, one per moving camera. The deploy launch generates that model from the manifest (`openral_core.moveit_config`) and runs `move_group` (OMPL) on it, with the safety kernel's voxels as its octomap (`moveit_scene_node`). ### Observation → action contract Plan-only: `move_group` returns a trajectory, and the runner replays each waypoint as a `JOINT_POSITION` action on `/openral/candidate_action`, where the safety kernel checks it. `Action.joint_names` names the joints the plan moves; the rest are held. A start a hair past a joint limit is sent clamped (`clamped_start_state`). ## Upstream model / training No learned model: [MoveIt 2](https://moveit.picknik.ai/) (Jazzy) plans with OMPL; KDL or pick_ik solve the inverse kinematics. ## Supported robots / embodiments Every robot in `embodiment_tags`: each one's generated model plans in `tests/integration/test_moveit_all_robots.py`. A robot joins the list by passing it. ## Sensors / observation contract None directly: the plan starts from `/joint_states`, and the world comes from the kernel's voxel grid (`/openral/world_voxels`), which the robot's depth sensors build. ## Manifest summary `kind: ros_action`, `role: s1`, `ros_integration`: `moveit_msgs/MoveGroup` on `/move_action`, `goal_builder: moveit`, `result_trajectory_field: planned_trajectory.joint_trajectory`, `plan_only: true`, `pipeline_id: ompl`. Actions: `reach`, `look`. ## License Apache-2.0, as MoveIt 2 (BSD-3-Clause) and OMPL (BSD-3-Clause) permit.