ASB Quaternion to rotation angles block creating input data dependency
2 ビュー (過去 30 日間)
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 件)
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.