- Home
- Skills
- Agents & Orchestration
- Advanced Manipulation with MoveIt 2
Advanced Manipulation with MoveIt 2
Plan, simulate, and execute safe MoveIt 2 motion sequences and pick-and-place logic for industrial and hobbyist arms.
$39
Works with the AI Agents you already use
Advanced Manipulation with MoveIt 2
Example session with this skill installed
Write a Python script using moveit_py to move a robot arm to a named 'home' pose, then execute a Cartesian path 10cm down in the Z axis for a grasp.
- Read your context and instructions
- Compiled the advanced manipulation
I have generated the motion planning script using moveit_py. This implementation includes the safety initialization, the named pose transition, and a validated Cartesian move with a 10% speed scale for initial testing.
MoveIt 2 Motion Planning Script
import rclpy
from moveit_py.moveit_py_client import MoveItPyClient
from moveit_msgs.msg import CollisionObject
from shape_msgs.msg import SolidPrimitive
def plan_and_execute():
# Initialize MoveIt PyClient
robot = MoveItPyClient("moveit_py_client")
arm = robot.get_planning_component("arm_group")
# 1. Set Safety Scaling (Start at 10% for hardware validation)
arm.set_max_velocity_scaling_factor(0.1)
arm.set_max_acceleration_scaling_factor(0.1)
# 2. Move to named 'home' pose
arm.set_start_state_to_current_state()
arm.set_goal_state(configuration_name="home")
plan_home = arm.plan()
if plan_home:
arm.execute()
# 3. Plan Cartesian path for grasp (10cm down in Z)
waypoints = []
current_pose = arm.get_current_pose().pose
target_pose = current_pose
target_pose.position.z -= 0.10 # 10cm approach
waypoints.append(target_pose)
cartesian_plan, fraction = arm.compute_cartesian_path(waypoints, 0.01, 0.0)
if fraction == 1.0:
arm.execute(cartesian_plan)
else:
print("Cartesian path failed or was partially blocked.")
if __name__ == "__main__":
rclpy.init()
plan_and_execute()
Next steps
- Load this script into your ROS 2 workspace and verify the
arm_groupname matches your SRDF. - Run in RViz with
fake_componentsenabled before deploying to the physical controller. - Ensure the emergency stop is reachable before executing the Cartesian Z-move.
Connects securely to your tools. The creator never sees your data.
About this skill
IK, constrained planning, MTC, servoing, contact control, imitation.
Plan and execute safe motions for a robot arm (MoveIt 2, or small hobby arms such as SO-100/LeRobot-style kits) - joint limits, collision objects, workspace boundaries, pick-and-place sequences - always validated in simulation and at reduced speed before full speed. Use when the user programs a robot arm, sets up MoveIt, plans pick-and-place, or teleoperates/trains a low-cost arm.
Includes an EXPERT.md reference (exact parameters, thresholds, failure diagnosis).
Acceptable use: civil and commercial applications only. Any military, paramilitary or weapon-related use is prohibited, as stated in the skill itself.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean today
- Passed all security checks, Safe to install