Output relative distance / velocity of two solid bodies
조회 수: 3 (최근 30일)
이전 댓글 표시
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
Manikanta Aditya
2024년 2월 28일
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!