Simscape Multibody, Transform Sensor, quaternion output

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 ?

Categories

Products

Release

R2021a

Asked:

on 2 Jan 2022

Answered:

on 4 Jan 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!