source of helperCrea​teBinaryOc​cupancyMap in Collision Warning Using 2-D Lidar

2 views (last 30 days)
Hello, I've copied Collision Warning Using 2-D Lidar example in script and then I tried to launch it however I had an error because the variable helperCreateBinaryOccupancyMap wasn't included in the folder I downloaded. so I am wondering where to find it or if I have the map pic I can regenerate it using the binaryOccupancyMap function.
Which image/file was used to generate the OccupancyMap for helperCreateBinaryOccupancyMap in the Collision Warning Using 2-D Lidar example?

Accepted Answer

Steven Lord
Steven Lord on 1 Apr 2023
That local function is defined in the Supporting Files section of the example.
  1 Comment
mgf_04
mgf_04 on 2 Apr 2023
Oh! I haven't noticed at all. Thank you so much it is working now. Maybe it would be more handy if it was included already in the folder.

Sign in to comment.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!