How to build the contact point when trying to add test paltform to test a vehicle model?
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear matlab officier I have seen your formula student trainiong model and follow the tuotrial, it is very useful to me, however, there is still some thing I dont understand in it. About wheel-contact point, in the video, the follower frame has been rotated with respcet to reference frame, I dont understand the meaning of this, can anyone of you expalin it ? The planar joint base frame which is the platform to wheel transform is rotated as well. Is there any speical meaning in it ? I try to add control system in my own vehicle model but it always says error. So I guess my mistake would be there.
댓글 수: 0
채택된 답변
Swarooph
2016년 7월 28일
Hello Shuo,
Regarding the example training model:
The follower frame is rotated so that we can align the base and follower frames. For a planar joint, X and Y axes are ALWAYS prismatic and Z axis is revolute. So in the example you can check that the base frame of the planar joint has X pointing up, Y pointing to the right and Z pointing into the screen.
For the planar joint to work the follower needs to have the same configuration to make sense. However the 'Rim' coordinate frame has Z pointing to left and X,Y pointing out of the screen and up respectively.
We need to make this second frame look like the first one. First of all translate this to the tire contact point along the Y axis (by half the diameter of the tire), then for the planar joint to work, we need to rotate it so X is pointing up, Y is pointing to the right and Z is pointing out of the screen. We use the aligned axis method to do this rotation.
Your model:
Start small. Your model is already too big to try to debug. Add assemblies one by one. For e.g. add only the front left assembly first. Don't add everything at once. When you have one working then add the next one to see what happens. When you model this way incrementally you can catch errors better since it is easier to debug.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!