Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] SUMO Vehicle Control

see https://github.com/eclipse/sumo/blob/master/tools/game/racing.py

Am So., 4. Aug. 2019 um 16:56 Uhr schrieb Gui Vickey <vickeygui@xxxxxxxxx>:
  Hi
 I beg you all to help me. I joined sumo-user for the first time. I hope you can take care of each other.  I want to use Python script to completely control the vehicle as fast as the second speed in this video here https://www.youtube.com/watch?v=a52U6CQQRcw. I want to write a Python script to control the vehicle, such as pressing the keyboard 'w', vehicle to accelerate forward, pressing 'S' vehicle to decelerate, the speed will fall back when reduced to zero, pressing 'A' to move left, pressing 'D' to move right, just like many games in the control of vehicles in SUMO simulation. I hope I can get a written example so that I can learn from it. I would be grateful if I could get specific examples.
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
  regards
  Vickey.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top