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

Method _get_position

leaderboard/team_code/roach_ap_agent.py:179–183  ·  view source on GitHub ↗
(self, tick_data)

Source from the content-addressed store, hash-verified

177 self._global_route = self._global_route[closest_idx:]
178
179 def _get_position(self, tick_data):
180 gps = tick_data['gps']
181 gps = (gps - self._command_planner.mean) * self._command_planner.scale
182
183 return gps
184
185 def set_global_plan(self, global_plan_gps, global_plan_world_coord, wp_route):
186 """

Callers 3

tickMethod · 0.95
run_stepMethod · 0.95
saveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected