-
Notifications
You must be signed in to change notification settings - Fork 21
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
Remove velocity override code (pushMotion) #1
Comments
I'm not entirely sure what this code was supposed to achieve either. This was all added in ros-industrial/staubli_experimental#10 and unfortunately the contributor of that is no longer around. I suggest we remove this, and the associated code in the UI files. @nilsmelchert @simonschmeisser: have you ever used this and did it work for you as expected? |
Unfortunately we currently don't have access to a Stäubli and I went on summer holidays after getting the thing to run so I haven't collected that much experience but ... I image the original intention, which might have been achieved or not, was to actually speed up execution of trajectories? At least that would be problem we keep pushing ahead and not addressing. Basically if you set velocity levels and acceleration levels too low and/or your time parametrization is suboptimal you end up with a trajectory containing values smaller than the maximum achievable velocity. Then the controller will interpret those as upper limits, reducing velocity further. Now thinking about it it is however not clear to me why we would not "solve"* this at the MoveIt level ...
|
As I wrote in #8 (comment), I believe it'd be best to remove the override: it reportedly doesn't work as intended. I'll change the title of this issue to convert it into an action item. |
I have this removed in a branch here ready to make a pull request once the previous one is merged. |
It would probably be good to rebase your new branch once #8 gets merged. |
I've linked this to #9, as it (starts to) remove(s) the velocity override. |
staubli_val3_driver/staubli_val3_driver/val3/ros_server/pushMotion.pgx
Lines 72 to 79 in 55b4fe6
Sets the velocity to the value set on the teach pendant if 'velocity override' is enabled. This does not seem to work as intended since the velocity set on the pendant already "overrides" whatever value is set in the Val3 code. The result is that the "overridden" velocity ends up being much smaller than intended.
I.E. if 50% velocity is set by the pendant, the actual speed of the robot will be 50% (result from
getMonitorSpeed()
) multiplied by another 50% (set by the pendant) = 25%The text was updated successfully, but these errors were encountered: