mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
Carla simulator: set driver orientation (#27363)
old-commit-hash: 202eb06a05e43ce77e5be19540fb427b5a060cfc
This commit is contained in:
@@ -211,7 +211,10 @@ def fake_driver_monitoring(exit_event: threading.Event):
|
||||
while not exit_event.is_set():
|
||||
# dmonitoringmodeld output
|
||||
dat = messaging.new_message('driverStateV2')
|
||||
dat.driverStateV2.leftDriverData.faceOrientation = [0., 0., 0.]
|
||||
dat.driverStateV2.leftDriverData.faceProb = 1.0
|
||||
dat.driverStateV2.rightDriverData.faceOrientation = [0., 0., 0.]
|
||||
dat.driverStateV2.rightDriverData.faceProb = 1.0
|
||||
pm.send('driverStateV2', dat)
|
||||
|
||||
# dmonitoringd output
|
||||
|
||||
Reference in New Issue
Block a user