필터 지우기
필터 지우기

Error in simmechanics matlab "attached coordinate systems must be collocated"

조회 수: 4 (최근 30일)
I am doing inverse dynamics in Matlab simmechanics in which position and orientation will be input to the end effector. But it shows error as below.
Error originates in Mechanical block rob33/Subsystem2/Subsystem1/Custom Joint. The coordinate systems attached to this joint must lie on the prismatic axis (for 1 axis) or in the plane of the prismatic axes (for 2 axes). If joint has no prismatic axes, the attached coordinate systems must be collocated, within tolerances.
Model is given below.
In subsystem1, I used custom joint to give orientaion input. Susystem1 model and custom joint block parameters is given below figure.
Parameters of link1-1 and parallel constaints is given in below figure.
I read these two answers but unable to understand.
https://in.mathworks.com/matlabcentral/answers/137923-wat-does-the-following-error-mean
https://in.mathworks.com/matlabcentral/newsreader/view_thread/323065
How to solve this error?
Thanks.

채택된 답변

Naseeb Gill
Naseeb Gill 2017년 3월 30일
I solved this problem by seeing below image from internet. This image explain the constraints in coordinate system in simulink.
R = revolute ; S = spherical; W = weld; P = prisimatic
As I have custom joint (in between ground and link 1-1) with R1R2R3 joints so body1 CS and body2 CS should coincident.
To do this, I copy CS3 of link1-1 and paste it into CS of ground.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by