Move UR5e arm with MoveIt Servo on ROS2 Humble #827
Replies: 2 comments 4 replies
-
Not being able to test this at the time of writing (I am on the go without having moveit_servo available): I think you could benefit from passing
This will tell MoveIt! to use the However, making the tests I currently can do it seems that the scaled JTC is actually working using fake hardware, so this might actually be not necessary at all and we could remove this flag from our launchfile... |
Beta Was this translation helpful? Give feedback.
-
@fornaroale |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm having issues trying to setup my "digital" UR5e robot (RViz and MoveIt Humble, no real robot) on ROS2. I currently followed the following steps (given in the documentation):
ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur5e robot_ip:=yyy.yyy.yyy.yyy use_fake_hardware:=true launch_rviz:=false
ros2 launch ur_moveit_config ur_moveit.launch.py ur_type:=ur5e launch_rviz:=true
I then switched the controller to forward_position_controller and called the servo_node service, as in ROS2 Humble documentation:
ros2 control switch_controllers --deactivate scaled_joint_trajectory_controller --activate forward_position_controller
ros2 service call /servo_node/start_servo std_srvs/srv/Trigger
.. and after these, I'm publishing the following data, as advised in one of the issues of this repository:
ros2 topic pub /servo_node/delta_twist_cmds geometry_msgs/msg/TwistStamped "{ header: { stamp: 'now' }, twist: {linear: {x: -0.1}, angular: { }}}" -r 10
Unfortunately, the robot is not moving in RViz.
I'd like to teleoperate the (virtual) robot and, as far as I understood, this controller is what I need (what I need to realise in the future is an external python script which will publish cartesian movements on this topic, making the arm moving in RViz). I'm sorry for the missing label, but I couldn't find an adequate one.
Could I kindly ask you to help me with this problem? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions