Why result of mpc is different to the real robot pose? #216
Unanswered
shiweizheng
asked this question in
Software Q&A
Replies: 1 comment 3 replies
-
What robot are you using? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I configured my own fanuc robot and run mpc_example.py. Then I got a reslut which shows MPC is success. But the result of MPC is different with my goal Pose.For example, I set start joint state is [ 0.0000, 0.0000, 0.2620, 0.0000, -0.2620, 0.0000], and goal joint state is [0.5000, 0.5000, 0.7620, 0.5000, 0.2380, 0.5000]. Finally I get a result and the last of trajotary is [0.4964, 0.5026, 0.7873, 0.4158, 0.2460, 0.5890], which is not same as the goal state.
Another strange thing, the goal state is set [ 0.0000, 0.0000, 0.2620, 0.0000, -0.2620, 0.0000], then the Pose calculated is "ee_pos_seq=tensor([[ 0.7357, -0.5725, 0.9365]], device='cuda:0'), ee_quat_seq=tensor([[0.5191, 0.6769, 0.1262, 0.5064]]", which is not equal to real robot pose. That seems the result of IK is wrong?
Is this correct? And which I did wrong?Thank a lot!!
Beta Was this translation helpful? Give feedback.
All reactions