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

4 views (last 30 days)
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

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 16 Jul 2024
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!