An error occurred while propagating data type 'BusDetect​ionConcate​nation2' : Expected the number of position dimension to be 1, 2, or 3.

16 views (last 30 days)
Hello Guys, I have following the tutorial : "Sensor Fusion Using Synthetic Radar and Vision Data in Simulink" to view my road case scenario in bird eyes view.
I have generated my scenario using driving scenario tool box and exported the simulink model. I have connected the blocks just as above in tutorial. I am using 1 camera and 4 radars.
I am having error when I run the simulink model as follows:
Can anyone please exaplin what exactly this error means and how to solve it?
I am also attaching my driving case scenario.

Answers (1)

Tarunbir Gambhir
Tarunbir Gambhir on 2 Dec 2020
Edited: Tarunbir Gambhir on 2 Dec 2020
In the example on "Sensor Fusion Using Synthetic Radar and Vision Data in Simulink", the Filter Initialization function used for the Multi-Object Tracker block is "helperInitSimulinkDemoFilter" (you can go through this function by opening the example location in MATLAB).
This helper function uses a discrete-time linear Kalman filter, trackingKF rather than initcvkf used in your model. The initcvkf function generates the same trackingKF object, however the input arguments (the detection report) needs to be modified to match the property requirements of this function. Please refer its MATLAB documentation for more information.
On the other hand, I was able to run your simulation by using the "helperInitSimulinkDemoFilter" function for Filter Initialization. You can create your own filter initialization function with custom properties for trackingKF as done in the helper function. For more information on the properties of this Linear Kalman filter, please refer the MATLAB documentation here.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!