Simscape Multibody, Transform Sensor, quaternion output
2 views (last 30 days)
Show older comments
Hello, I am using the Transform Sensor in simulink to get the Quaternion orientation between robot End Effector and base position.
at the same time I am using another Transform Sensor to get the Quaternion orientation between a target and the base position.
my question is: how can i take the difference between them (in simulink) so I can minimize it to zero ?
0 Comments
Answers (1)
J Chen
on 4 Jan 2022
Take a look at this: https://www.mathworks.com/matlabcentral/answers/415936-angle-between-2-quaternions
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!