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

49 次查看(过去 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,18:04
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