You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using the UR Driver (built from source) with ROS2 Humble and Ubuntu 22.04.
I start the driver with the following command: ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur3 robot_ip:=172.17.0.1 launch_rviz:=false
and use the default MoveIt configuration: ros2 launch ur_moveit_config ur_moveit.launch.py ur_type:=ur3 robot_ip:=172.17.0.1 launch_rviz:=true.
I have written a simple C++ file with poses that the robot should approach. I defined the poses like this:
The planned trajectory from one pose to another is very unnatural. The robot makes unnecessary turns and sometimes even drives through the ground. By adding a collision object, driving through the ground is avoided, but sometimes no path can be found, even though the pose is right next to the previous one.
Ideally, the robot should approach the next pose with as little movement as possible. However, even a movement in the z-direction causes some joints to rotate by 360 degrees. Similarly, if only the base needs to rotate by a few degrees with minimal movements in the other joints, the robot twists into strange positions.
When I plan and execute the trajectory in RViz to move from one pose to another, the robot moves "linearly" as expected.
I also tried specifying joint angles instead of poses:
With this approach, it works perfectly. The robot makes natural movements, and the planned trajectories are smooth.
Has anyone else experienced the issue where no intuitive paths are planned, and the robot makes many unnecessary movements when using poses? Any ideas on how to solve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using the UR Driver (built from source) with ROS2 Humble and Ubuntu 22.04.
I start the driver with the following command:
ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur3 robot_ip:=172.17.0.1 launch_rviz:=false
and use the default MoveIt configuration:
ros2 launch ur_moveit_config ur_moveit.launch.py ur_type:=ur3 robot_ip:=172.17.0.1 launch_rviz:=true
.I have written a simple C++ file with poses that the robot should approach. I defined the poses like this:
The planned trajectory from one pose to another is very unnatural. The robot makes unnecessary turns and sometimes even drives through the ground. By adding a collision object, driving through the ground is avoided, but sometimes no path can be found, even though the pose is right next to the previous one.
Ideally, the robot should approach the next pose with as little movement as possible. However, even a movement in the z-direction causes some joints to rotate by 360 degrees. Similarly, if only the base needs to rotate by a few degrees with minimal movements in the other joints, the robot twists into strange positions.
When I plan and execute the trajectory in RViz to move from one pose to another, the robot moves "linearly" as expected.
I also tried specifying joint angles instead of poses:
With this approach, it works perfectly. The robot makes natural movements, and the planned trajectories are smooth.
Has anyone else experienced the issue where no intuitive paths are planned, and the robot makes many unnecessary movements when using poses? Any ideas on how to solve this?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions