I encountered error though the input data to INS block is exactly 3-column

조회 수: 6 (최근 30일)
I'm using the uavPackageDelivery example in UAV toolbox and making small modification in this module.(in "fly full mission mode")
i want to integrate an INS sensor into it,and i'm passing necessary parameters in this sensor.
but once the simulation starts,error message is shown below.
I'm passing exactly 3-column array into it,but still received error above.
Am i right to use INS here?if wrong,where else should i use the INS block?
thx

채택된 답변

Fangjun Jiang
Fangjun Jiang 2024년 7월 16일
The input needs to be N-by-3 real-valued matrix.
You need to use the "Vector Concatenate" block, instead of the "Bus Creator" block.
Specify the number of inputs as 3, "Multidimensional array", concatenate dimension as 2. Then you will see the input is shown as [1x3] and the simulation runs without error.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by