Occupancy Mapping

Typically: "How do I... ", "How can I... " questions
Post Reply
SRIKAR B
Posts: 3
Joined: 11 Dec 2016, 18:43

Occupancy Mapping

Post by SRIKAR B »

How to get values 0 and 1 in the presence and absence of the obstacle (by occupancy grid mapping) in an array having [10][10] elements?

Here is my scene

https://drive.google.com/open?id=0By7rJ ... GNzdVpLRzg


thank you

coppelia
Site Admin
Posts: 10360
Joined: 14 Dec 2012, 00:25

Re: Occupancy Mapping

Post by coppelia »

Hello,

you have several possibilities, for instance:
  • use a vision sensor above the scene, like in your scene. Then read the image of the vision sensor. Make sure the resolution of the sensor is 10x10. Have a look at this scene.
  • use a proximity sensor that you swipe over the surface to the tested. This will produce 100 (i.e. 10x10) measurements.
Cheers

Post Reply