Combined Slip Wheel STI Compile Error

Hello,
When I try to run the Combined Slip Wheel STI block I get the following error.
"Function 'Combined Slip Wheel STI/Outputs/W-axis to C-axis' (#178.146.161), line 7, column 11: "cross(XeCp, Fw)" "
Below are the inputs of my model (which I belive match the documentation). Any help is appreciated.

댓글 수: 3

Brandyn Pataki
Brandyn Pataki 2022년 6월 7일
Hello,
I might have found the source of the issue but am unsure how to resolve it. It seems the Fw goes from being a 3 vector to a 1 vector.
This is in contrast to the Mw vector that acts as it is supposed to and remains a 3 vector
Brandyn Pataki
Brandyn Pataki 2022년 6월 7일
Hello,
One final update from me before I put this down for the night: When I connect a 3 zero vector the code runs fine but when I connect the 3 vector generated by my model the error is thrown. See the picture below showing the 3 vectors are the same.
Brandyn Pataki
Brandyn Pataki 2022년 6월 7일
Final Comment: I tired transposing my signal (Xe) before inputting it into the block and it still did not work.

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

답변 (1개)

Infinite_king
Infinite_king 2024년 2월 7일

0 개 추천

Hi Brandyn Pataki,
One possible reason for encountering the error is because of input dimension mismatch. As per the "Combined Slip Wheel STI" documentation :- https://www.mathworks.com/help/releases/R2022a/vdynblks/ref/combinedslipwheelsti.html#mw_75660c2f-d0b6-4646-af93-75efdc08da14_sep_bvbo42y-2, Port '' expects a vector representing Rotation angle of rim with respect to the wheel center, in .
However, it seems like you are passing a scalar instead of vector. Review the input values and make necessary changes.
Hope this is helpful.

카테고리

도움말 센터File Exchange에서 Aerospace Blockset에 대해 자세히 알아보기

제품

릴리스

R2022a

태그

질문:

2022년 6월 7일

답변:

2024년 2월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by