Closed garg-akash closed 4 weeks ago
Hi @garg-akash
Thanks for your feedback!
- Shouldn't the error be difference between the target and the ft sensor value?
This controller implementation follows a little different philosophy. It uses forward dynamics of an external net force to the end-effector and simulates how the robot moves according to that net force. The simulated motion is then sent to the joints of the real system. The net force is what the sensor measures from possible collisions/interaction with the environment and what users additionally specify as target wrench. If you are interested, I explained that a little more in detail in this pdf in chapter 4.
- Where does the gravity compensation come from?
There is not gravity compensation currently. We assume that you zero (bias, tare, etc.) the force torque sensor on the robot before going into contact, so that everything you measure is only external contacts from interaction with the environment.
- How can I use the force controller from this repository to control the real robot?
There's an example package for Universal Robots linked in the getting started section here. Hope that helps.
Please re-open if something is still unclear.
Hello,
Firstly thank you for providing this interesting repository.
I have been playing around with the simulations. I have some basic questions, sorry if they are too obvious.
Inside the computeError() in the cartesian force controller (here) the error is computed like this here. Shouldn't the error be difference between the target and the ft sensor value?
Where does the gravity compensation come from? The joint accelerations are computed using the net force here.
I have a UR5e in my lab with External Control Urcap installed. How can I use the force controller from this repository to control the real robot?
Thank you, Akgr