Error while running simulink bicycle kinematic model for mobile robot
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, Im trying to get a hang of how the models in Peter Corke's Robotics Toolbox are working especailly the sl_pursuit simulink model. The downloaded version of the model is working, not great bc the controllers aren't tuned but nontheless it is working, but when I try to recreate the model or just ude the bicycle kinematic model from toolbox library there is a dimensiosns error. Outpu for "product" block doesnt match the dimensions of "integrator" block.
Is there any way to get rid of that error? Also, why does it work in his model but straight from the library it doesn't?
댓글 수: 0
답변 (1개)
Anurag Ojha
2024년 2월 1일
Hello Dominika,
To resolve “Error in port width and dimension” you can use the reshape block. It changes the dimensionality of the input signal to a dimensionality that you specify, using the Output dimensionality parameter.
For example, you can use the reshape block to change an N-element vector to a 1-by-N or N-by-1 matrix signal.
Adding MATLAB documentation of reshape block for your reference:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Robotics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!