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

Method get_header

scenario_runner/srunner/autoagents/ros_agent.py:256–262  ·  view source on GitHub ↗

Returns ROS message header

(self)

Source from the content-addressed store, hash-verified

254 "This function has to be implemented by the derived classes")
255
256 def get_header(self):
257 """
258 Returns ROS message header
259 """
260 header = Header()
261 header.stamp = rospy.Time.from_sec(self.timestamp)
262 return header
263
264 def publish_lidar(self, sensor_id, data):
265 """

Callers 4

publish_lidarMethod · 0.95
publish_gnssMethod · 0.95
publish_cameraMethod · 0.95
publish_canMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected