Replies: 4 comments 11 replies
-
Hey @bbiro2, SR argument to record the simulation makes it such that the given path is always relative to your scenario runner folder, which is definitely a different behavior from the default one at the recorder (this line). Did you take this into account when sending the path to SR? |
Beta Was this translation helpful? Give feedback.
-
I also met this problem when I use CARLA from here https://carla-releases.s3.eu-west-3.amazonaws.com/Linux/CARLA_0.9.10.1.tar.gz on ubuntu 18.04, also record from leaderboard client.start_recorder |
Beta Was this translation helpful? Give feedback.
-
I am using CARLA 0.9.13 on Pop!_OS 21.10 (based on Ubuntu 21.10). Repository: https://github.com/neilsambhu/carla-simulator3 I don't have any *.log file as output to hard disk. I am also using the FollowLeadingVehicle_1 scenario. I know the "ERROR: failed to destroy actor..." message is more like a warning (carla-simulator/scenario_runner#852).
Similarly, my *.json output is filled with blank or null values:
Through the debugging process (after 4/11/2022 6:01:11 PM on https://github.com/neilsambhu/carla-simulator3 ), (1) CarlaUE4.sh will show Town01 and (2) manual_control.py will show Town10HD_Opt. I have --reloadWorld parameter when calling scenario_runner.py, and I have not changed any of the default ports. Additionally, CarlaUE4.sh outputs "ERROR: Invalid session: no stream available with id [integer]". I tried to resolve this issue by adding parameters when calling CarlaUE4.sh I assume (1) the "ERROR: Invalid session" is connected to (2) the Town01 not loading in manual_control.py: manual_control.py to prevent the "Not all scenario tests were successful" message (carla-simulator/scenario_runner#566 (comment) ), which is connected to (3) lack of *.log and *.json files In my "recording_files" directory. Chronologically, I found these issues in the order 3, 2, 1. |
Beta Was this translation helpful? Give feedback.
-
I spent hours to solve this problem and again, the bug is so stupid. You should rename the description in FileHeader In OpenScenario File, change "CARLA:YourScenario" to "CARLAYourScenario". ":" is the reason why the log and json files cant be saved. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I built and am using Carla 0.9.11 on Windows 10. What I would like to achieve is to run and record my scenario (sourced from an OpenSCENARIO file) by using the ScenarioRunner module and to have the log file generated.
Since it did not work, I tried using a default scenario (FollowLeadingVehicle_1) to check whether the issue is coming from my OpenSCENARIO file, but it does not work with the default scenario neither.
The problem is that the log file only gets generated when I use Carla without ScenarioRunner (by running the default start_recording.py). Once I start using ScenarioRunner as well, and try running any scenario with the proper command (written here), it seems like it does not want to log anything, only the json criteria file gets generated.
Because of this, I believe that the client.start_recorder() function works well, because in case of any map ran in Carla with the recording on, it generates the log file. However when the same function gets called during the ScenarioRunner recording functionality, it does not generate it.
Did it happen to anyone or does anyone have some advices what should I try to make it work?
Thank you in advance for any advices!
Beta Was this translation helpful? Give feedback.
All reactions