Help with Simscape Multibody
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm trying to create a simulation representing the 4 DOF for a robotic arm. My issue is in the "M3 and L3" block of my attached file. The link is using a revolute joint and I can't get it to move how I need it to. I know the direction the Z axis should be in to for the joint to move how I'd like it to but when I rotate the axis, the joint no longer works. I based my simulation off of the pendulum example provided by the Simscape Multibody tutorial videos ( https://www.youtube.com/watch?v=lItmRlH4iBw&t=448s )
The image shows how the link is currently moving and how I need it to move. I've also attached my Simscape Multibody file. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/360337/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/360337/image.jpeg)
댓글 수: 0
채택된 답변
J Chen
2020년 9월 21일
The z-axis of the revolute joint needs to align with the desired roration axis. Use the Rigid Transform block in the Simscape/Multibody/Frames and Transformation to rotate the revolute joint. You may need a Rigid Transform block at each joint of the revolute joint.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simscape Multibody에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!