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

Method tick

scenario_runner/no_rendering_mode.py:914–919  ·  view source on GitHub ↗
(self, clock)

Source from the content-addressed store, hash-verified

912 self.spawned_hero = self.hero_actor
913
914 def tick(self, clock):
915 actors = self.world.get_actors()
916 self.actors_with_transforms = [(actor, actor.get_transform()) for actor in actors]
917 if self.hero_actor is not None:
918 self.hero_transform = self.hero_actor.get_transform()
919 self.update_hud_info(clock)
920
921 def update_hud_info(self, clock):
922 hero_mode_text = []

Callers

nothing calls this directly

Calls 3

update_hud_infoMethod · 0.95
get_actorsMethod · 0.80
get_transformMethod · 0.80

Tested by

no test coverage detected