DReyeVR: Cannot use WASD controls in scenario_runner

Hello again friends!

I am having trouble using WASD (manual) controls in scenario_runner. I use the following commands below:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd %CARLA_ROOT%

C:\...\Documents\G\carla9.12\carla\Build\UE4Carla\0.9.13-1-g8854804f4-dirty\WindowsNoEditor>CarlaUE4.exe

C:\...\Documents\G\carla9.12\carla\Build\UE4Carla\0.9.13-1-g8854804f4-dirty\WindowsNoEditor>cd %SCENARIO_RUNNER_ROOT%

C:\...\Documents\G\carla9.12\scenario_runner>python run_experiment.py --title "dreyevr_experiment" --route %SCENARIO_RUNNER_ROOT%\srunner\data\routes_training.xml %SCENARIO_RUNNER_ROOT%\srunner\data\all_towns_traffic_scenarios1_3_4.json 3
Starting scenario runner
Recording on file: C:/Users/zhuang/AppData/Local/CarlaUE4/Saved/exp_dreyevr_experiment_05_04_2022_15_23_55.rec
INFO:  Found the required file in cache!  Carla/Maps/TM/Town01.bin
Preparing scenario: RouteScenario_3
ScenarioManager: Running scenario RouteScenario_3

And when I try to manually control the vehicle, I am moving at speeds of 1-2.

A few things of note:

  • No Logitech wheel, only keyboard here (we built the most basic DReyeVR)
  • The vehicle just slightly moving in the direction of WASD but not really moving (as in the video). This is with me holding down the keys.
  • When I run normal CarlaUE4.exe I am able to WASD the vehicle without any issues.

Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19

Most upvoted comments

@GustavoSilvera Just followed your instructions above and it works! Thank you so much for all of your help 😄

Hi @aureliuszi just wanted to let you know that I have been able to reproduce the bug and will have a patch out on dev soon.

dev

I have yet to rebuild, will probably do that tomorrow.

dev branch, will go back to the lab to test again shortly before rebuilding. Thank you so much for your help on this!