-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
questions about Scenario_runner and DReyeVR #153
Comments
What version of scenario runner are you using? What is scenario 7 supposed to do? |
Thanks for your reply. |
here is the version scenario runner0.9.13 https://github.com/carla-simulator/scenario_runner/blob/v0.9.13/srunner/scenarios/route_scenario.py |
Have you tried running the scenario runner with the |
Also, can you post the scenario runner command with all the parameters you execute in the terminal so that I can reproduce the issue in my environment? |
1、 Reply to the scenario runner command and Carla version @shh1v @ajdroid 2、Questions for design some specific scenario for DRVRcarla. Additionally, it is not suitable for study human behaviors. We would like to kindly seek your assistance, as we have encountered a few challenges in our research and development process. Firstly, please allow me to briefly describe the process of running a scenario. (1) read the customed XXX.xml and XXX.json. like this (2) generate route's trajectory according to waypoints from XXX.xml(interpolate and add the GPS route) (3) Iterate through all scenario triggers (XXX.json) and waypoints to match by calculate the distance and yaw. then return a scenario set may be triggered. (4) Build scenarios. We have successfully run our behavior tree on our own custom paths(xml) and triggers points(json). But it was running too slowly. When I drive to the scenario trigger point, although the predefined frame is 50, CARLA experiences frame skipping alternating between fast and slow. Not only in our customed scenario, but also in Carla scenario_runner scenario 1~10. In particular, the human driving experience is crucial for studying human driving behavior. I wonder why the case is. Why games like GTA V, Pubg Need for Speed, Elden Ring, warcraft 3 or anything run with no lag 60fps as expected on a GPU like mine and even on weaker gpus, and a simple CAR VR simulator runs on fluctuations? Is this because of python solely? or Carla designing? or VR, UE?Since this project was created with human behavior. I think the most essential thing is being able to render images with decent quality and frame rate to improve the experience of human driving. Some hypotheses. |
Thank you for the detailed explanation. I have been working for the past several months integrating scenario runner in our pipeline for conducting behavioral research. We have implemented SAE level 3 vehicle behavior, where the driver is required to intervene and take physical control upon the triggering of scenarios executed by scenario runner. I am happy to help you out but you may want to review previous discussions (like this) on CARLA and SR GitHub repositories as this issue is very well documented and solutions to make it working have been proposed. Mainly its an issue with how and why CARLA is developed. One thing I would also like to point out that there is a good chance, generally speaking, that there is an issue with your behavior tree (particularly |
Thanks!!! and I apologize for the delayed response due to some recent paper submission matters. 2、I have already sent you the running video(In order to stabilize the frame rate, eye tracking has not been activated for the time being.), customized XML route, JSON scene trigger points, and behavior tree that I modified, in the form of an email. You can directly replace the cut_in.py file in \CarlaDReyeVR\scenario_runner\srunner\scenarios with my py file. Then, import it in \CarlaDReyeVR\scenario_runner\srunner\scenarios\route_scenario.py and make appropriate modifications, like this. you can run it by this command. additionally, our frame is 60. and we set the avoid_collision = True (in \srunner\scenaromanager\scenarioatomics\atomic_behaviors.py\Class WaypointFollower) Thank you again for being willing to help us check the behavior tree to see if it is the reason for the varying running speed in our scenarios. (Although the displayed frame rate remains constant at 60, the running speed fluctuates between fast and slow which is very noticeable to the driver.) ) |
@shh1v and if have any problems about my code, contact me anytime. |
@shh1v code and video are here. https://github.com/EvilQQQ/VR_scenario |
Hello
I must admit that this is a very meaningful work. It provides great support for human factors safety engineering. We're trying to build our own scenes by using DReyeVR and scenario_runner. And we have some questions about using scenario_runner with DReyeVR. I read the issue96 and issue48. It may not help with us. **
1. How to reproduce the scenario like this. There are some scenarios that don't seem to be executing
We successfully run the example by using -route.xml and -json. After that, we choose the 13th route in routes_training.xml and all_towns_traffic_scenarios.json.
As shown in the figures, this route matches the scenario7. And the program run correctly to build the scenario7. But the simulator didn't trigger the scenario7. We used UE4 to locate the trigger point in the scenario7 and route13 in town03 and confirm that our VR vehicle passed through the trigger point, but it didn't have any effect.
2、As mentioned in the issues48, there are some scenarios which are not triggered correctly. Because my thesis needs to design some Customized VR scenarios about autonomous driving, i would like to design some scenarios in DReyeVR. If possible, would you mind give me some advice?
The text was updated successfully, but these errors were encountered: