-
Notifications
You must be signed in to change notification settings - Fork 12
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
moveit planner problem with J1 and J2 #289
Comments
We need to investigate if we can replace our j0s with mimic joints. It's available in urdf. It would also help with #287 |
@ugocupcic I have been working with a mekabot m3 hand, which has a lot of coupled joints per fingers (highly underactuated). mimic joints work great if the driver provides a value that is the "motor" joint that should be distributed among several joints. At some point I was thinking of having two robot_description. One for simulation with mimic and one for the real world without mimic. Deactivating mimic in the real world but using all the power of mimic (with a virtual joint 0 present in the urdf directly that would be attached to a simple j0 controller). That would however not let you get rid of all the special code for has j2 due to real world having to deal with that in the controllers. I like the fact that the host side controllers that run the real hand are tested in simulation as is (and not have a special version in sim). I think the problem is that the way the joints j1 and j2 are moved in sim is the problem. Sending the same force on both joints (or half I am not sure anymore) does not ensure the joints move the same angle (because there are serial links and the j2 has different inertia and mass to move than j1 hence, will move differently) This latest issue should be investigated I think or discussed with gazebo people. I think something enforcing the coupling (probably what is done by mimic) in the transmission or in the sr_gazebo_plugin should be done. Then the initial problem goes away and we have a better simulation. This would not simulated the spring coupling but that is not as important as keeping the same controller for real and sim imho. |
The planner complains about these joints being out of bounds. That happens quite often, as the position controllers only control the sum of both J1+J2=J0, but not each one of them separately.
The text was updated successfully, but these errors were encountered: