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

Method _get_position

leaderboard/team_code/base_agent.py:77–81  ·  view source on GitHub ↗
(self, tick_data)

Source from the content-addressed store, hash-verified

75
76
77 def _get_position(self, tick_data):
78 gps = tick_data['gps']
79 gps = (gps - self._command_planner.mean) * self._command_planner.scale
80
81 return gps
82
83 def sensors(self):
84 return [

Callers 3

saveMethod · 0.95
_get_controlMethod · 0.45
run_stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected