Skip to content

Commit 202eb06

Browse files
authored
Carla simulator: set driver orientation (#27363)
1 parent 2510f78 commit 202eb06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/sim/bridge.py

+3
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ def fake_driver_monitoring(exit_event: threading.Event):
211211
while not exit_event.is_set():
212212
# dmonitoringmodeld output
213213
dat = messaging.new_message('driverStateV2')
214+
dat.driverStateV2.leftDriverData.faceOrientation = [0., 0., 0.]
214215
dat.driverStateV2.leftDriverData.faceProb = 1.0
216+
dat.driverStateV2.rightDriverData.faceOrientation = [0., 0., 0.]
217+
dat.driverStateV2.rightDriverData.faceProb = 1.0
215218
pm.send('driverStateV2', dat)
216219

217220
# dmonitoringd output

0 commit comments

Comments
 (0)