-
Notifications
You must be signed in to change notification settings - Fork 40
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
real robots overshoots #5
Comments
Hi chwimmer, sorry for the delayed answer. We also have/had issues with the arm overshooting. In order to find out, if the source of the issue is the same, I would like to know, which interface of the youBot API you have been using in the second scenario? Was it
If you have used the position interface I would like to ask you to try out the trajectory interface and identify if you also have overshooting then (i.e. the controller parameters in the youBot driver are not correct). In contrast, if you have used the trajectory interface already, we will have to search further. Best regards |
Hallo again! |
Hi chwimmer, I understood what you have done in the second scenario (but the links were probably confusing). In the link which you provided, though, the position interface of the internal arm controllers is used. This is the same controller which is used by the "arm_controller/position_command" ROS topic. However, when you run MoveIt!, it uses the "arm_controller/follow_joint_trajectory" ROS action. This action, in contrast, is built on the velocity interface of the internal arm controllers (see https://github.com/youbot/youbot_driver/blob/master/youbot/JointTrajectoryController.cpp#L327). Therefore, you get a different behavior in your scenarios. Since the motion planner works in the simulation, I would claim that the generated plans are correct, but the configuration of the real robot is non-optimal. So, how to solve this problem? I'm not exactly sure, but I would start tuning the joint trajectory controller inside of the youBot driver, which you can find here: https://github.com/youbot/youbot_driver/blob/master/youbot/JointTrajectoryController.cpp#L56 Please let me know if this is still unclear or solves the problem. Best regards |
Well Sven, |
Hi, I have not worked further on the issue. But as you mentioned, this is a problem of the youBot driver (https://github.com/youbot/youbot_driver) and not this package. Have you tried following the hint in my previous comment and adjusted the gains? If so, you could send a pull request to the youbot_driver repository. Best regards |
Hello,
|
Hallo Sven!
Hi, I am trying to use your Kinematics Solver with a real youbot (Hydro and MoveIt!). It works, but the Robot overshoots hard. So its impossible to use it.
Here is an example:
I tried just to move to this Joint Values:
Joint 1 = 2.56244
Joint 2 = 1.04883
Joint 3 = -2.43523
Joint 4 = 1.73184
And than back to the start position:
Joint 1 = 0.11;
Joint 2 = 0.11;
Joint 3 = -0.11;
Joint 4 = 0.11;
And the results are:
[ INFO] [1417081506.139020171]: Unfold the arm:
[ INFO] [1417081506.139160314]: Joint 1: 2.463744
[ INFO] [1417081506.139221442]: Joint 2: 1.022458
[ INFO] [1417081506.139326833]: Joint 3: -2.243019
[ INFO] [1417081506.139434231]: Joint 4: 2.004181
[ INFO] [1417081506.139554560]: Fold the arm
[ INFO] [1417081511.904251690]: Back to the start position:
[ INFO] [1417081511.904400356]: Joint 1: -0.007522
[ INFO] [1417081511.904490749]: Joint 2: 0.093472
[ INFO] [1417081511.904563730]: Joint 3: -0.124973
[ INFO] [1417081511.904638793]: Joint 4: -0.004159
So you can see its not really working properly on my Robot.
When I just use the Youbot_API it works really fine.
Same Example:
Info: unfold arm
Joint 1: 2.56244
Joint 2: 1.04883
Joint 3: -2.43524
Joint 4: 1.73184
Info: fold arm
Joint 1: 0.109996
Joint 2: 0.109996
Joint 3: -0.110003
Joint 4: 0.11
Did you have the same problem? And when yes, how did you solve it?
Thanks!
chwimmer
The text was updated successfully, but these errors were encountered: