-
Notifications
You must be signed in to change notification settings - Fork 44
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
Holding position problems #106
Comments
I'm using FRIOverlay since there is no tool attached to the EE. The video shows that the robot begins to fall down after selecting the 0 stiffness option on 'smartPad'. |
@yaoxt3 honestly it's been too long since I last used an IIWA robot to remember what happens when stiffness is set to zero. I think that it should still have gravity compensation. On the other hand I do remember that some "poses" were more difficult for the gravity compensation than others. Can you make sure that there's no end effector in your KUKA Other than this @matthias-mayr maybe has more intuition about what happens here. |
Thank you for your reply. I will contact Mayr for further assistance with this issue. I appreciate your help and insights. If I am able to find a solution to this issue, I will update it here and close the issue. Thank you again for your time and assistance. |
No worries. Matthias is already tagged in the issue. He will reply if he has any ideas. Btw, if stiffness is not set to zero, does gravity compensation work as expected? |
I have attempted to set the stiffness to 20, but unfortunately, the robot is running randomly. While when I set the stiffness to zero, the robot did not run randomly, but there was no gravity compensation. |
Hi, developer! .The situation: when we set the stiffness to |
There would always be a calibration error and my take is that what you are observing is that error. You can also run the calibration procedure and use the "GripperOverlay" Java. However, the results of the calibration vary and the robot would still move when in torque mode. If you want to avoid that you need to add your own compensation on top of what KUKA does. |
Thank you. I'll have a try! If I fix this issue, I'll update my solutions. |
Hi @matthias-mayr, thank you for your advise. I successfully installed Cartesian impedance control, which has allowed the robot to hold its position, since the stiffness of joints is non-zero. However, we now want to implement an impact-friendly demo using the torque controller, which requires the robot's stiffness to be reduced. Following your previous suggestion, I added a specific weight of tools to the end-effector and used the load data on the smartpad to automatically obtain calibration data. However, I have observed that while the robot can maintain its position in certain positions, it struggles in others. It appears that the automatically acquired data may not be entirely accurate. In a previous discussions, you mentioned mapping external torques to virtual mass. I would greatly appreciate it if you could provide more information on how to perform this mapping. Thank you once again for your assistance. |
That is the behavior that people typically experience.
I did not implement this myself, but the basic procedure is to go to a set of poses. Let's say 50, obtain the external torques (that should not be there) and then solve e.g. a least-squares problem that estimates a mass mounted to the EE that best explains the external torques. He said that this was sufficient for him. Multiple people have the same issue. I know at least 5 by now (like @anubhav-dogra in this issue), so if anyone would do it, that would be greatly appreciated. |
I would like to express my appreciation for your valuable contributions. However, I am currently encountering some issues with the holding position when launching the 'bringup.launch' file with torque control mode (stiffness = 0). Once the stiffness is selected, the robot seems to be unable to maintain its position, indicating a possible lack of gravity compensation.
holding.problem.mp4
The 'iiwa_driver' is functioning correctly, and the '/iiwa/joint_states' is publishing real-time robot states. Furthermore, there are no tools attached to the end effector, and I have already completed the calibration via the 'PositionAndGMSReferencing' application on 'smartPad'.
I would greatly appreciate any suggestions or advice you could offer to help resolve this issue. Thank you in advance for your assistance.
The text was updated successfully, but these errors were encountered: