ShortestPathFollower class
Methods
- def get_next_action(self, goal_pos: typing.Union[typing.List[float], numpy.ndarray]) -> typing.Union[int, numpy.ndarray, None]
- Returns the next action along the shortest path.
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, sim: HabitatSim, goal_radius: float, return_one_hot: bool = True, stop_on_error: bool = True)
Properties
- mode get set
Method documentation
def habitat. tasks. nav. shortest_path_follower. ShortestPathFollower. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.