Open arjunsk07 opened 1 year ago
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.
Hello all,
I need to run the example scenarios in scenario runner module automatically, that is without running the manual_control.py file. So for that in my understanding I think these are the possible ways
- Using the automatic_control.py In this when I tried executing this parallely to python scenario_runner.py --scenario FollowLeadingVehicle_1 --reloadWorld, it spawns another vehicle and is executed.
So if I want to execute the scenario with automatic_control.py, I need to load the scenario to automatic_control.py and to have a PID controller? Is it the right way to do this? or how is the efficient approach to do that?
- By using the agents While using the agents, should I look into scenario runner autoagents folder and does it possible to run the scenario alone with the agent. How can we acheive that?
Also, Is it possible to use agents that are in pythonAPI folder?
Another concern is that, I tried executing the xosc files, and to automatically control that I changed the external_control to simple_vehicle_control but still the vehicle is not moving forward. what I am missing here?
I am getting this error when I run scenario runner files. Can you help me to sort it out.
Hi @SExpert12
just run python3 scenario_runner.py --list
and you'll get all available scenarios. The one you're looking for is probably SignalizedJunctionLeftTurn_1.
scenario_runner.py --help
is also quite usefull.
Thanks Michael. I am able to run scenario. Can you help with generating Intersection scenario. Actually I wanted scenario_runner for intersection scenario and that is missing in scenario_runner.
Thanks once again for your help.
Hi @arjunsk07 , I am also attempting to create scenarios where agents behaviors are controlled by a script. I'll keep you updated on my progress! I'll be starting by attempting to use automatic_control.py to control a single vehicle, as you seem to be attempting.
Edit: Also, if you have made any progress that would help me, please let me know! Right now, I just have been able to run scenarios using manual_control to drive the ego vehicle.
Hello all,
I need to run the example scenarios in scenario runner module automatically, that is without running the manual_control.py file. So for that in my understanding I think these are the possible ways
So if I want to execute the scenario with automatic_control.py, I need to load the scenario to automatic_control.py and to have a PID controller? Is it the right way to do this? or how is the efficient approach to do that?
Also, Is it possible to use agents that are in pythonAPI folder?
Another concern is that, I tried executing the xosc files, and to automatically control that I changed the external_control to simple_vehicle_control but still the vehicle is not moving forward. what I am missing here?