Is there a way to check if a certain coordinate is within the bounds of the map
Hello everyone. I have a specific map visualized in rviz. In this map a a function generates markers in a x*y grid. I want to check when a marker is either outside of the map or inside a obstacle.
In the picture we can see some markers are outside of the map or in a obstacle/wall.
link to map: https://imgur.com/Cduta5R
Are there a way to check if a marker is inside the light grey area (where the robot can move)?