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

Method _get_sensor_position

leaderboard/team_code/base_agent.py:735–746  ·  view source on GitHub ↗

returns the sensor position and rotation Args: cam ([type]): [description] Returns: [type]: [description]

(self, cam)

Source from the content-addressed store, hash-verified

733 return cords
734
735 def _get_sensor_position(self, cam):
736 """returns the sensor position and rotation
737
738 Args:
739 cam ([type]): [description]
740
741 Returns:
742 [type]: [description]
743 """
744 sensor_transform = self._sensors[cam].get_transform()
745
746 return sensor_transform
747
748 def _world_to_sensor(self, cords, sensor, move_cords=False):
749 """

Callers 4

_get_2d_bbsMethod · 0.95
_get_2d_bb_baselineMethod · 0.95
_baseline_to_boxMethod · 0.95
_change_seg_stopMethod · 0.95

Calls 1

get_transformMethod · 0.80

Tested by

no test coverage detected