carla-simulator / carla

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

Apply_control does not work for auto possessed actors #6939

Open goksaderdagi opened 12 months ago

goksaderdagi commented 12 months ago

CARLA version: 9.14 Platform/OS: Windows Issue Encountered: I'm using a VR system to develop a pedestrian simulator in CARLA. While I can successfully utilize VR controllers to manage the walker actor, I also aim to employ apply_control() for diverse functionalities.

Expected Outcome: I anticipated apply_control() to function seamlessly.

Steps to Reproduce: Spawn any actor auto-possessed in the UE editor. You'll observe that apply_control() fails to operate.

Additional Information: I've attempted solutions such as carla.command.ApplyWalkerControl and walker.apply_control, yet no improvements were observed. I suspect the issue might be related to input priority, although I lack knowledge on how to adjust this priority.

Could someone kindly provide guidance on setting input priority or explain why apply_control() fails to work?

goksaderdagi commented 12 months ago

I receive this error "Responding error from function apply_control_to_walker: Walker has incompatible controller"in Log file