Output relative distance / velocity of two solid bodies
3 views (last 30 days)
Show older comments
I want to create a controller where Body1 attempts to move to the position and orientation of Body2. The controller inputs are the relative distance and velocity components in xyz as well as a rotation (euler angles or quaternion).
Do I need to have a 6-DOF between the rigid transform and Body2 in order to have sensor outputs?
What should the arranglement of coordinate transformations look like in terms of base and follower to achieve this?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1611881/image.png)
1 Comment
Manikanta Aditya
on 28 Feb 2024
Yes, you would need a 6-DOF (Degrees of Freedom) representation between the rigid transform and Body2 to have sensor outputs that capture both position and orientation. This is because in 3D space, an object has 3 DOFs for translation (movement along X, Y, Z axes) and 3 DOFs for rotation (rotation about X, Y, Z axes), totaling 6 DOFs.
Answers (0)
See Also
Categories
Find more on Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!