Closed ChenSunMac closed 4 years ago
Hi,
In order to help you, we must know what version of CARLA you are using. There are changes to the autopilot system in 0.9.7. and that might be causing this error.
Hi,
In order to help you, we must know what version of CARLA you are using. There are changes to the autopilot system in 0.9.7. and that might be causing this error.
I am using 0.9.7
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
repackaged the program and works fine
I have tried to develop a data_recorder_sync.py for CARLA 0.9.X
I read the examples and I can get the synchronous version running with autopilot by spawn actors and put sensors on one of them. However, Now I wish to add controller onto the selected ego-vehicle such that I can manually perform some driving behaviors.
I referred the manual_control.py and manual_control_steeringwheel.py and created a version of DualControl() with no hud like the following:
where by pushing R3 on the G29 Steerwheel or Key-P on keyboard, the autopilot-mode should be able to toggle and run the manual driving. I got it work on the asynchronous mode (revised on the manual_control_steeringwheel.py)
However, with the synchronous mode, (implemented as following):
It can run without pushing any key aka the statement
is not true. Whenever I push the key to enter this if statement, I got the error message like