MCPcopy Create free account
hub / github.com/OpenDriveLab/DriveAdapter / __init__

Method __init__

agents/navigation/roaming_agent.py:24–32  ·  view source on GitHub ↗

:param vehicle: actor to apply to local planner logic onto

(self, vehicle)

Source from the content-addressed store, hash-verified

22 """
23
24 def __init__(self, vehicle):
25 """
26
27 :param vehicle: actor to apply to local planner logic onto
28 """
29 super(RoamingAgent, self).__init__(vehicle)
30 self._proximity_threshold = 10.0 # meters
31 self._state = AgentState.NAVIGATING
32 self._local_planner = LocalPlanner(self._vehicle)
33
34 def run_step(self, debug=False):
35 """

Callers

nothing calls this directly

Calls 1

LocalPlannerClass · 0.90

Tested by

no test coverage detected