How can I get nearest occupied point from map?
Hi,
I am trying to write simple node of particle filter for Gazebo model of robot with diff drive and sonar sensors. I use map_server node to load map. I need method (or node) to get nearest occupied point from map to defined direction. It means, I would like model of sonar sensor on map. Is there such possibility in ROS?
Best Regards, Alex