Update manual_control_steeringwheel.py
This commit is contained in:
parent
39d6ede417
commit
50abe1218f
|
@ -426,7 +426,7 @@ class HUD(object):
|
||||||
'Client: % 16.0f FPS' % clock.get_fps(),
|
'Client: % 16.0f FPS' % clock.get_fps(),
|
||||||
'',
|
'',
|
||||||
'Vehicle: % 20s' % get_actor_display_name(world.player, truncate=20),
|
'Vehicle: % 20s' % get_actor_display_name(world.player, truncate=20),
|
||||||
'Map: % 20s' % world.world.get_map().name,
|
'Map: % 20s' % world.world.get_map().name.split('/')[-1],
|
||||||
'Simulation time: % 12s' % datetime.timedelta(seconds=int(self.simulation_time)),
|
'Simulation time: % 12s' % datetime.timedelta(seconds=int(self.simulation_time)),
|
||||||
'',
|
'',
|
||||||
'Speed: % 15.0f km/h' % (3.6 * math.sqrt(v.x**2 + v.y**2 + v.z**2)),
|
'Speed: % 15.0f km/h' % (3.6 * math.sqrt(v.x**2 + v.y**2 + v.z**2)),
|
||||||
|
|
Loading…
Reference in New Issue