pyrobosim.navigation.path_planner.PathPlanner.plot
- PathPlanner.plot(axes, path=None, path_color='m')
Plots the planned path on a specified set of axes.
- Parameters:
axes (
matplotlib.axes.Axes
) – The axes on which to draw.path (
pyrobosim.utils.motion.Path
, optional) – Path to display, defaults to None.path_color (tuple[float] / str, optional) – Color of the path, as an RGB tuple or string.
- Returns:
List of Matplotlib artists containing what was drawn, used for bookkeeping.
- Return type:
list[
matplotlib.artist.Artist
]