robotics-toolbox-python
robotics-toolbox-python copied to clipboard
Is there a way I can incorporate FK into a neural network and do back-propagation
Hi! Thanks for you excellent work!
Currently, I have a network which learns the IK mapping for a specified manipulator, and it outputs the joint angles for all the joints. But the performance is not good. So, I want to use the FK function (ur5.fkine()) to map the predicted joint angles to position and euler angles, and compute the L1 loss with the ground truth like the illustration below.
So, the FK process need to be able to support the loss.backward() in PyTorch. Is there a way I can make this happen?