pyrobosim.navigation.occupancy_grid.OccupancyGrid.world_to_grid
- OccupancyGrid.world_to_grid(pos)
Convert a given world position in world frame to grid frame.
- Parameters:
pos ((float, float)) – The position to be transformed.
- Returns:
The coordinates in grid frame.
- Return type:
(int, int)