carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.44k stars 3.71k forks source link

ValueError: sticky_control: invalid value type #8291

Open hee-jae-kim opened 1 month ago

hee-jae-kim commented 1 month ago

CARLA version: 0.9.15 Platform/OS: ubuntu 22.04

I am running the manual_control_steeringwheel.py and getting an error "ValueError: sticky_control: invalid value type" Any suggestions about this issue? Below is my error. Thanks.

ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API WARNING: Client API version = 0.9.15-226-g5c2d2978a WARNING: Simulator API version = 0.9.15-221-g4da0c7415 Traceback (most recent call last): File "/home/h2x/carla/PythonAPI/examples/manual_control_steeringwheel_hj.py", line 1403, in main() File "/home/h2x/carla/PythonAPI/examples/manual_control_steeringwheel_hj.py", line 1395, in main game_loop(args) File "/home/h2x/carla/PythonAPI/examples/manual_control_steeringwheel_hj.py", line 1114, in game_loop world = World(client.get_world(), hud, args.filter) File "/home/h2x/carla/PythonAPI/examples/manual_control_steeringwheel_hj.py", line 289, in init self.restart() File "/home/h2x/carla/PythonAPI/examples/manual_control_steeringwheel_hj.py", line 298, in restart blueprint_library = self.world.get_blueprint_library() ValueError: sticky_control: invalid value type

NayaBaslan commented 1 month ago

what does this command give you? dmesg | grep -i joystick

ytj254 commented 2 weeks ago

I have a similar error when running run_synchronization.py. My CARLA version is 0.9.15, Platform/OS is ubuntu 22.04. Error message is: Traceback (most recent call last): File "/home/ytj/carla/Co-Simulation/Sumo/run_synchronization.py", line 319, in synchronization_loop(arguments) File "/home/ytj/carla/Co-Simulation/Sumo/run_synchronization.py", line 238, in synchronization_loop carla_simulation = CarlaSimulation(args.carla_host, args.carla_port, args.step_length) File "/home/ytj/carla/Co-Simulation/Sumo/sumo_integration/carla_simulation.py", line 34, in init self.blueprint_library = self.world.get_blueprint_library() ValueError: sticky_control: invalid value type Run the command dmesg | grep -i joystick returned: dmesg: read kernel buffer failed: Operation not permitted

Any suggestions to solve this? Thanks.