MCPcopy Create free account
hub / github.com/OpenDriveLab/TCP / _get_position

Method _get_position

leaderboard/team_code/tcp_agent.py:89–93  ·  view source on GitHub ↗
(self, tick_data)

Source from the content-addressed store, hash-verified

87 self.initialized = True
88
89 def _get_position(self, tick_data):
90 gps = tick_data['gps']
91 gps = (gps - self._route_planner.mean) * self._route_planner.scale
92
93 return gps
94
95 def sensors(self):
96 return [

Callers 3

tickMethod · 0.95
_get_controlMethod · 0.45
run_stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected