Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] [1658975665.993442682]: RRTConnect: Motion planning start tree could not be initialized! #604

Open
gyt290811 opened this issue Jul 28, 2022 · 3 comments

Comments

@gyt290811
Copy link

I got this issue:
[ WARN] [1658995780.555897234]: RRTConnect: Skipping invalid start state (invalid bounds)
[ERROR] [1658995780.555934424]: RRTConnect: Motion planning start tree could not be initialized!
[ERROR] [1658995780.555990100]: RRTConnect: Motion planning start tree could not be initialized!
.

when I run this package universal_robot

how to solve it?

@fmauch
Copy link
Contributor

fmauch commented Aug 1, 2022

Thank you for reporting your issue. In order to help you resolve this, we'll need some additional information:

  • What where the exact commands that you have run to get everything running?
  • What is the complete shell output of all the nodes related (Driver, moveit)?
  • What are the joint positions your robot is currently located when this error pops up? (The output of rostopic echo -n1 /joint_states should help there)

@gyt290811
Copy link
Author

gyt290811 commented Aug 1, 2022

Thank you for reporting your issue. In order to help you resolve this, we'll need some additional information:

  • What where the exact commands that you have run to get everything running?
  • What is the complete shell output of all the nodes related (Driver, moveit)?
  • What are the joint positions your robot is currently located when this error pops up? (The output of rostopic echo -n1 /joint_states should help there)

exact commands are:
roslaunch ur_robot_driver ur5_bringup.launch limited:=true robot_ip:=192.168.1.27 use_lowbandwidth_trajectory_follower:=true
roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch limited:=true
roslaunch ur5_moveit_config moveit_rviz.launch config:=true
topic echo
Screenshot from 2022-08-01 21-48-40
At this moment, the pose of robot as follows:
Screenshot from 2022-08-01 22-06-36 - 3

@fmauch @fmauch

@fmauch
Copy link
Contributor

fmauch commented Aug 15, 2022

Given the files you posted, you seem to not be using ur_robot_driver with the melodic-devel-staging branch, but you seem to use ur_modern_driver. I'd recommend not using ur_modern_driver unless you have a CB1 or CB2 robot.

Since you are running that setup and start everything with joint_limited:=true, ROS and in particular MoveIt! will expect your robot operates in the range {-pi, pi} for each joint. Clearly, from the joint values you posted, joints 3 and 5 (You cut off the names, so I can only use the indices to reference them) are outside this limit. Once you (manually) move back the robot's joints to the specified interval, things should hopefully work.

However, as stated above, I suggest you try using the ur_robot_driver ith the melodic-devel-staging branch from this repo instead. This will also be able to handle joint values outside {-pi,pi} interval. Alternatively, you could try not passing joint_limited:=true to all launch files if you expect the robot to operate outside joint limitations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants