-
Notifications
You must be signed in to change notification settings - Fork 333
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
[JTC] Commands new targets after trajectory excution has finished #760
Comments
Do you use the action or topic interface? If the action interface, does it report to have reached the goal? Could you provide us a rosbag with /joint_states and ~/controller_state, or a complete example to reproduce it? Maybe this can be reproduced with the rrrbot. |
I am using the action interface and it reports having reached the goal. I try to collect a rosbag with the desired information in the next few days. |
thanks, and please also add the console output. |
Unfortunately I cannot give you a full rosbag of the joint_states and of the controller_state due to confidentially reasons. Nevertheless I can reproduce the issue pretty consistently and created a plot of the the relevant joints from the /controller_state topic. As you can see in the image the output position decreases up to a certain point where the sampling of the trajectory has finished. Afterwards it to the current position and then commands steps into the opposite direction Including the console output
This phenomena happens on a real robot. You might wonder why there is such a large difference between the target and current position, this is intended in our use case as we using this servo as a compliant axis with a rather low current limit. This phenomena does not happen if I increase the current limit and have the axis follow the target more accurately. Edit: This data was collected with adapted JTC parameters according to my other issue:
|
Thanks for the details. The resolution of the image is too low to read the legend, cyan is the reference and magenta the output? |
Hi sorry for my late answer. I was on holidays. I just tested the solution from #758 and seems to work fine! |
Describe the bug
We run a force limited setup where we use a JTC to command a trajectory which the actual actuator might not be able to follow completely (one servo axis). With the current version (3.14.0) we ran multiple times into the issue that after the JTC has finished execution the axis started moving into the opposite direction.
With the previous version (3.13.0) this behavior does not occur.
To Reproduce
Have a setup where the actual goal cannot be reached ( in our case for example by roughly 8cm).
Command that goal.
In like 6 to 10 cases the axis will move slowly in the opposite direction of the target (where it came from) after the JTC has finished execution.
Configuration
Expected behavior
The axis should stay where it is after execution has finished or should have the last point of the trajectory as target
Environment (please complete the following information):
Additional context
Given that 3.13.0 works it has to be one of those commits.
Given that 3.14.0 also introduces #759 I would suggest reverting those commits related to the JTC until a solution was found.
The text was updated successfully, but these errors were encountered: