movit2 simple example code from Moveit2 tutorial
example code to control franka research 3 robot to desired pose in rviz2
Example code to control franka research 3 robot through haptic device sigma.7
Step 1:
ros2 launch franka_moveit_config franka_moveit.launch.py robot_ip:=172.16.0.2 use_fake_hardware:=false
It will turn on the Rviz2, go to "Panels->add new panel->RvizVisualToolsGUI->ok" to add visual tool
Step 2:
ros2 run franka_moveit_my hello_moveit
Franka hardware subscribe target pose that published by another node and follow the target.
Steps:
- Launch franka hardware
ros2 launch franka_moveit_config franka_moveit.launch.py robot_ip:=172.16.0.2 use_fake_hardware:=false
- Listener
ros2 run franka_moveit_my follow_target
- Pubisher
ros2 run franka_moveit_my franka_target_pub
This is an example to control FR3 arm hardware by sigma.7 haptic device .