ASB Quaternion to rotation angles block creating input data dependency

조회 수: 4 (최근 30일)
cdlapoin
cdlapoin 2022년 8월 20일
답변: Steve Miller 2022년 11월 26일
I wanted to do an experiment for a pitch angle controller, and as a shortcut/oversimplification I want to pull pitch angle directly from the simscape 6-DOF joint connecting my vehicle to the world frame. The above schematic causes an input data dependency error. Removing the QtRA block removed the error but I don't understand what the issue is.
From reading, this error comes from requesting a value before it is available, so I thought it might be resolved by initializing the 6-DOF rotation angles by specifying a position state target (of 0) for the spherical primitive that doesn't seem to anything helpful here.
  댓글 수: 1
cdlapoin
cdlapoin 2022년 8월 20일
is it possible that q being the name of the input for the Quat2RA block and also the input position for the simscape Revolute Joints is the issue? Can either of those be changed? I would try as a troubleshooting step but cannot find a way?

댓글을 달려면 로그인하십시오.

답변 (1개)

Steve Miller
Steve Miller 2022년 11월 26일
I made a simple version of your model and it seemed to work fine. The Simulink model is attached and a screenshot is below. I suspect the issue has to do with a model parameter that isn't defined.
--Steve

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by