-
Notifications
You must be signed in to change notification settings - Fork 196
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
Trajectory start position doesn't match current robot position (3011) when using multiple groups #585
Comments
I've resolved the above error by making sure the start_state_ in my moveit plan has the same number of joints as the trajectory_. I'm now getting the error:
|
This appears to be a MoveIt issue. The Trajectory Execution Manager (TEM) monitors trajectory execution and apparently your robot is unable to execute the motion in the time MoveIt determined should be needed. This is often caused by:
|
Thanks for the reply. I've tried slowing the motion down considerably and am now getting:
|
could you comment on what exactly caused the time outs?
That's the -- currently -- expected error with the action server on multi-group setups and certain configurations. #488 is the latest attempt at fixing those. #259 was an earlier attempt, but incomplete. |
I can't find the cause here, I've checked the robot controller and there are no alarms or anything.
I managed to merge #259 into our fork and am still seeing the same errors. I'll try the same with #488 |
I'm confused. You report you've been able to avoid the TEM time-outs by reducing the trajectory velocity. I assumed that meant you've been able to figure out what was the actual cause. But reading it again it sounds more like a work-around?
I would really recommend against basing any attempts on #259. See my comments there. |
Yes this is just a workaround for now, I'll find a proper fix when I've solved the other issues. |
@rr-dave Just to confirm, you are mentionning that you have a positionner with P and Y axes? And you are using a the |
Merging #488 into our fork has fixed the "Transitioning goal to LOST" issues. I've also removed my workaround and haven't seen any TEM timeouts. @EricMarcil In the CONNECT section we have:
We chose to use the
Are there likely to be limitations when using the controller this way, rather than with the external axis job? We're also unaware of the usecase of NON GROUP, is that something you know? |
By defaull, the group combinaison R1+S1 might not have been setup. You need to go to menu: SETUP -> GRP COMBINAISON and set it up. I'm assuming that is what you did. |
Yes this is how we got the job on the controller We are now able to successfully send trajectories to the robot, however positioner trajectories are often failing with:
|
Have you verified the position is modelled correctly in your URDF / |
Thanks for the suggestion, the acceleration limit for the positioner was set too high. I can now reliably send trajectories to the positioner. I am however having issues with point streaming to the robot. I am sending points to the joint_command topic but no robot movement is happening. The package streaming the points works correctly in a different cell with only the robot connected to the controller. Does anything need to be done differently to stream points in a multi group setup? |
You're referring to (the original PR) #37 (and/or subsequent rebases) merged with #488? I'm afraid that's an 'unknown' combination and I would not be able to help you with it. It's very likely you'll have to extend whatever #37 does/did for multi-group motion. IIRC, the fact it only supported a single group was exactly one of the limitations. |
Thanks for your help! |
We are trying to control a GP25 and 2 axis positioner with a YRC1000 controller using ROS. We are using the job: https://github.com/ros-industrial/motoman/blob/kinetic-devel/motoman_driver/Inform/DX200%2C%20FS100%2C%20YRC1000/single_arm_with_base_axis/INIT_ROS.JBI on the controller.
We are using 2 control groups like this
and using the multi group launch file:
echoing the /joint_state topic shows the robot and positioner joints as expected.
When sending trajectories to the controller we're getting errors like:
[15:48:34.729074] [/yaskawa/motion_streaming_interface]: Aborting Trajectory. Failed to send point (#0): Invalid message (3) : Trajectory start position doesn't match current robot position (3011)
I managed to make the GP25 + positioner execute motions by putting all the joints in a single group:
Which suggests the issue isn't with the trajectory. The problem with doing this is that the trajectory timed out even though the robot physically moved. The /joint_state topic also contained 0 for the external axes even when they were jogged on the pendant.
I've tried applying the changes from #64 but this gave the same error. I've also attempted to apply #259 to my fork, but wasn't able to easily get the changes to take. Would the changes in #259 be expected to fix this issue, or are there any other things I can try?
The text was updated successfully, but these errors were encountered: