-
Notifications
You must be signed in to change notification settings - Fork 156
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
irb2400: suspicious acceleration limits in MoveIt package #44
Comments
@shaun-edwards: Do you know where I can find the joint acceleration limits for ABB robots; is it possible to get them from RobotStudio? |
The joint acceleration limits are not publicly available on most robots. A good guess is 10 x max velocity (i.e. a joint can reach max speed in 0.1s). I believe the accelerations can be removed. The moveit package will need to be regenerated if the limits are removed/changed. |
@shaun-edwards wrote:
Do we know what the defaults are that MoveIt would use in that case? |
I currently have the same question... From what I am seeing currently, it seems MoveIt's default accel limits are conservative as the robot's motion is very slow to accelerate (when compared to the native hardware controller's behavior) |
Yep. I recognise that. Problem is with most robots that acceleration profiles are also load dependent (as are the velocity profiles), so setting hard limits in the MoveIt configuration doesn't really always work. |
The ABB robot driver will not allow you to exceed acceleration/velocity limits. You could set them arbitrarily high and the robot will perform the trajectory the best it can. That being said, dense trajectories will always be executed slowly, as the robot motion controller struggles with these. See here for more info. Do you have a particular need that you are trying to address? There might be a better option if I understood your use case. |
From a quick investigation, the default behavior seems to be as follows: For the parameter server
Inside of IterativeParabolicTimeParameterization::applyAccelerationConstraints() 00368 double a_max = 1.0;
00369 const robot_model::VariableBounds &b = rmodel.getVariableBounds(vars[j]);
00370 if (b.acceleration_bounded_)
00371 a_max = std::min(fabs(b.max_acceleration_*acceleration_scaling_factor), fabs(b.min_acceleration_*acceleration_scaling_factor)); ... which if I understand correctly, will result in MoveIt defaulting to 1 [rad/s/s] unless iptp is not called in all cases; not sure. @gavanderhoorn do you have a best practice for adjusting MoveIt acceleration limits? Maybe set them to their highest limits in the moveit config and then use MoveIt's acceleration_scaling_factor to control based on (current) payload btw, sorry if this conversation should be somewhere else |
I'd say it's a good place, as #44 (comment) asks for what "the defaults are". Seems we got an answer :).
I'd always put in the maxima. The controller will either fault (RSI, MXT, EGM), or just perform at its maximum (current Rapid based driver). Scaling based on payload is difficult I think, unless you know how the robot controller does it itself (or figure it out by iteratively increasing and seeing where it starts to fail, but even then). |
The current MoveIt configuration package (
irb2400_moveit_config
) has all acceleration limits set to1.0
injoint_limits.yaml
. These are probably not the real limits, and should be updated if possible.The text was updated successfully, but these errors were encountered: