Open Dan-A22 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.
Sorry for the delay in our response. Here are the answers to your two questions:
1.
When you start the recording, you should get a message with the path of the saved log, something like:
Recording on file: /home/tda/.config/Epic/CarlaUE4/Saved/test1.log
Anyway, you can specify the path of the log when you start recording by:
client.start_recorder(logfile)
2. You do not need to perform the tick in replaying. Try with a simple code such as one below:
import carla
import os
client = carla.Client()
world = client.get_world()
logfile = "logfile.log"
id_vehicle = 25 # in case you want to follow one actor in the spectator
print(client.show_recorder_file_info(logfile, True))
print(client.replay_file(logfile, 0, 0, id_vehicle, False))
Hi everybody. I got 2 questions from the carla recorder:
1- Where is the location that the .log file is saved. I just want to make sure that everything is working fine and the simulation data is actually recorded.
2- I followed all the steps that were shown in the carla documentation here(https://carla.readthedocs.io/en/latest/adv_recorder/). The following is my complete code:
However when I try to replay it using the following code:
nothing changes in the carla server and no errors appear in the terminal. am I doing something wrong? thanks for your help!