Trajectory Planning#
Plan and execute joint and Cartesian trajectories with MoveIt2 (OMPL) or Isaac
cuMotion. See Example Applications for the shared manipulator setup. All commands
run through mros. For the programmatic /wmx/moveit2/* service API, see
MoveIt2 Motion Planning.
Simulation#
Open the scene:
Open
~/workspaces/movensys-simulation/<MANIPULATOR_MODEL>/3a_trajectory_simulation.usdmros ros2 launch movensys_manipulator_description gazebo_trajectory_simulation.launch.py
Run the simulator bridge:
mros ros2 launch movensys_manipulator_moveit_config sim_bridge.launch.py \ simulator:=isaacsim use_sim_time:=true
mros ros2 launch movensys_manipulator_moveit_config sim_bridge.launch.py \ simulator:=gazebo 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
(optional) Execute the trajectory or coverage test:
mros ros2 launch movensys_manipulator_moveit_config trajectory_test.launch.py use_sim_time:=true mros ros2 launch movensys_manipulator_moveit_config coverage_pose.launch.py use_sim_time:=true
HIL#
Open the scene:
Open
~/workspaces/movensys-simulation/<MANIPULATOR_MODEL>/3b_trajectory_hil.usdmros ros2 launch movensys_manipulator_description gazebo_trajectory_hil.launch.py
Start 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
(optional) Run
trajectory_test.launch.py/coverage_pose.launch.pywithuse_sim_time:=true.
Real#
(optional) Open the matching scene for visualization:
Open
~/workspaces/movensys-simulation/<MANIPULATOR_MODEL>/3c_trajectory_real.usdmros ros2 launch movensys_manipulator_description gazebo_trajectory_real.launch.py
Start 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
(optional) Run
trajectory_test.launch.py/coverage_pose.launch.py.