AdrianLlopart's picture
chore: publish rSkill OpenRAL/rskill-moveit-multi-motion v0.1.0
681635a verified
Raw History Blame Contribute Delete
5 kB
# rSkill manifest — moveit: plan an arm or a camera with MoveIt, on any robot we ship.
#
# One MoveIt rSkill for every robot and every goal kind. The reasoner says what it wants in
# the robot's own terms; `ros_integration.goal_builder: moveit` lowers it per robot
# (`openral_rskill.moveit_goal`) onto the joint / pose / look-at adapters over the shared
# `ROSActionRskill` MoveGroup engine, in a planning group of the robot's MoveIt model,
# which the deploy launch generates from its manifest (`openral_core.moveit_config`) and
# serves (`move_group`, OMPL: hence `pipeline_id: ompl`, never cuMotion) on every deploy of
# a robot listed below, in station mode with a home pose, or with this skill as the
# approach (any other deploy needs a `/move_action` server on the same model). Groups:
# `openral_home` for the home pose, one group per end effector (named after it), one per
# camera a joint chain moves (named after the sensor). It replaces rskill-moveit-joints,
# -eef-pose and -look-at, which each hard-coded the Franka's group and joints.
#
# Collision posture: move_group plans against self-collision (the kernel's own geometry and
# exemptions) and the kernel's world voxels (`moveit_scene_node`). `plan_only: true`: the
# runner replays every waypoint through /openral/candidate_action, where the safety kernel
# checks it. `chunk_size: 1` so the supervisor sees every waypoint.
schema_version: "0.1"
name: "OpenRAL/rskill-moveit-multi-motion"
version: "0.1.0"
license: "apache-2.0"
role: "s1"
kind: "ros_action"
# Every robot whose MoveIt model generates from its manifest and plans (tests/unit/
# test_moveit_config.py, tests/integration/test_moveit_all_robots.py). An actuating skill
# may not use the "any" wildcard, so the list is explicit; a robot joins it by passing.
embodiment_tags:
- "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"
actuators_required:
- kind: "joint_position"
control_mode_semantics:
mode: "absolute"
chunk_size: 1
# Planning is slow on the first call (0.5-2 s on a clean scene); later step() calls dequeue
# cached waypoints.
latency_budget:
per_chunk_ms: 2000.0
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.
actions:
- "reach"
- "look"
objects: []
scenes: []
paper_url: "https://moveit.picknik.ai/"
ros_integration:
package: "moveit_msgs"
interface_type: "MoveGroup"
interface_name: "/move_action"
result_trajectory_field: "planned_trajectory.joint_trajectory"
goal_builder: "moveit"
default_goal_json: |
{
"request": {
"pipeline_id": "ompl",
"num_planning_attempts": 5,
"allowed_planning_time": 5.0,
"max_velocity_scaling_factor": 0.3,
"max_acceleration_scaling_factor": 0.3,
"goal_constraints": []
},
"planning_options": {
"plan_only": true,
"replan": false
}
}
ros_dependencies:
- "ros-${ROS_DISTRO}-moveit"
goal_params_schema:
type: object
description: >
What to move and where, in this robot's own names (end effectors and cameras as the
robot lists them). Positions in metres, angles in radians; frame_id defaults to the
robot's base frame.
properties:
target:
type: string
enum: ["named_pose", "pose", "look_at", "joints"]
named_pose:
type: string
description: "A pose the robot declares, e.g. \"home\"."
arm:
type: string
description: "The end effector to move (required when the robot has several)."
pose:
type: object
properties:
position:
type: array
items: {type: number}
minItems: 3
maxItems: 3
orientation_rpy:
type: array
items: {type: number}
minItems: 3
maxItems: 3
frame_id:
type: string
required: ["position"]
camera:
type: string
description: "The camera to aim, for look_at."
look_at:
type: object
description: "Give target_xyz (a point) or direction (a vector from the camera)."
properties:
target_xyz:
type: array
items: {type: number}
minItems: 3
maxItems: 3
direction:
type: array
items: {type: number}
minItems: 3
maxItems: 3
frame_id:
type: string
joints:
type: object
description: "Joint name -> target (rad or m)."
additionalProperties: {type: number}
required: ["target"]