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

Method setup

scenario_runner/srunner/autoagents/npc_agent.py:28–34  ·  view source on GitHub ↗

Setup the agent parameters

(self, path_to_conf_file)

Source from the content-addressed store, hash-verified

26 _route_assigned = False
27
28 def setup(self, path_to_conf_file):
29 """
30 Setup the agent parameters
31 """
32
33 self._route_assigned = False
34 self._agent = None
35
36 def sensors(self):
37 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected