pyrobosim.utils.motion.reduce_waypoints_grid

pyrobosim.utils.motion.reduce_waypoints_grid(grid, positions)

Reduces the number of waypoints in a generated path from a grid-based planner.

Parameters:
Returns:

The optimized list of waypoints.

Return type:

list[(int, int)]