pyrobosim.navigation.planner_base.PathPlannerBase.plot
- PathPlannerBase.plot(axes, show_graph=True, 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. If none, uses the latest_path attribute.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
]