lbr_moveit
Warning
On hardware, do always execute in T1 mode first.
MoveIt Servo
MoveIt Servo - Simulation
Run the mock setup (important to run the
forward_position_controllercontroller for servoing):ros2 launch lbr_bringup mock.launch.py \ ctrl:=forward_position_controller \ model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
Hint
For a physics-based simulation, also try Gazebo (remember to set
mode:=gazebofor the next steps):ros2 launch lbr_bringup gazebo.launch.py \ ctrl:=forward_position_controller \ model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
Run MoveIt Servo:
ros2 launch lbr_bringup moveit_servo.launch.py \ mode:=mock \ model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
Optionally run RViZ:
ros2 launch lbr_bringup rviz.launch.py
Publish to
/lbr/servo_node/delta_joint_cmdsand/lbr/servo_node/delta_twist_cmds. For this demo, we provide a keyboard driver (keyboard layout is printed to terminal):ros2 launch lbr_moveit keyboard_driver.launch.py
You can now experiment with
Modifying the MoveIt Servo parameters in moveit_servo.yaml. E.g. the
robot_link_command_frameto change the commanding frame.Connect a joystick or game controller.
Or changing the veloctiy scales for this keyboard driver in forward_keyboard.yaml.
MoveIt Servo - Hardware
Client side configurations:
Configure the
client_command_modetopositionin lbr_system_config.yamlSet the
update_rateto100in hardware_controllers.yaml
Remote side configurations:
Proceed with steps 1, 2, 3 and 4 from MoveIt Servo - Simulation but with
ros2 launch lbr_bringup hardware.launch.pyin step 1.
MoveIt via RViz
IIWA 7 R800 in RViz
To run MoveIt via RViz, simply follow:
MoveIt via RViz - Simulation
Run the mock setup:
ros2 launch lbr_bringup mock.launch.py \ model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
Hint
For a physics-based simulation, also try Gazebo (remember to set
mode:=gazebofor the next steps):ros2 launch lbr_bringup gazebo.launch.py \ model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
Run MoveIt with RViz:
ros2 launch lbr_bringup move_group.launch.py \ mode:=mock \ rviz:=true \ model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
You can now move the robot via MoveIt in RViz!
MoveIt via RViz - Hardware
Client side configurations:
Configure the
client_command_modetopositionin lbr_system_config.yamlSet the
update_rateto100in hardware_controllers.yaml
Remote side configurations:
Proceed with steps 1 and 2 from MoveIt via RViz - Simulation but with
ros2 launch lbr_bringup hardware.launch.pyin step 1.