Automotive tool box running code
5 views (last 30 days)
Show older comments
I am trying to run the "closely spcaed targets" demo, which is embedded with FCW (Forward collision waring) demo.
I just pulled out the snippet of code which belongs to "closely spcaed targets", which is towards the end of the script as below.
I was able to run the entire demo of FCW, whereas the snippet of "closely spaced targets" is giving me errors as below :
Unrecognized method, property, or field 'SensorLocation' for class 'drivingRadarDataGenerator'.
Error in helperCreateSensorDemoDisplay>setupPanels (line 88)
plotCoverageArea(caPlotter, sensor.SensorLocation,...
Error in helperCreateSensorDemoDisplay (line 32)
bep = setupPanels(scenario,egoCar,sensor,figScene,sideView);
Error in helperRunSensorDemoScenario (line 35)
[bep, figScene] = helperCreateSensorDemoDisplay(scenario, egoCar, sensor, sideView);
Error in test_2bike_det (line 39)
metrics = helperRunSensorDemoScenario(scenario, egoCar, radarSensor, snapTime);
Additinally, i am also interested in getting radar raw data to further use it for my own algorithm development. But when i went through documentation, i dont find any method to pull raw data. Can you please help me with both of these queries.
Attaching the file of "closely spaced targets" script.
5 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!