Angle between two planes in simscape

조회 수: 5 (최근 30일)
Amit Pandit
Amit Pandit 2020년 7월 14일
답변: Aman Vyas 2020년 8월 12일
I am building a simscape model four wheel car. For now i want to measure the angle between two planes(wheel and the world frame).Is the any sensors to measure it directly? Any suggestions

채택된 답변

Aman Vyas
Aman Vyas 2020년 8월 12일
Hi,
Based on my understanding, you can make use of "Transform Sensor" which is is based on axis–angle representation of rotation in Euclidean space.
For arbitrary rotation in Euclidean space, it can be represented as two values: a unit vector and a scalar angle. The resultant rotation is obtained by taking the dot product of these two quantities.
Hence, in the 'Transform Sensor', the output 'q' represents only the angle, which is half the information. To get the complete rotation, you can enable the axis output and use the dot product of the two to obtain correct angular rotation between the two frames or planes.
You can refer to the attached model to look usage of transform sensor.
Hope it helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by