pyrobosim.navigation.prm.PRMPlanner

class pyrobosim.navigation.prm.PRMPlanner(*, compress_path: bool = False, collision_check_step_dist: float = 0.025, max_connection_dist: float = 2.0, max_nodes: int = 50)

Implements a Probabilistic Roadmap (PRM) path planner.

Methods

__init__(*[, compress_path, ...])

Creates an instance of a PRM planner.

connect_neighbors(node)

Connect a node to all nodes within connection distance.

get_graphs()

Returns the graphs generated by the planner, if any.

get_latest_path()

Returns the latest path generated by the planner, if any.

plan(start, goal)

Plans a path from start to goal.

reset()

Resamples the PRM and resets planning metrics.

sample_configuration()

Samples a random configuration from the world.

to_dict()

Serializes the planner to a dictionary.

Attributes

plugin_name

The name of the plugin.