Closed YuqiHuai closed 6 months ago
I just terminated the process after submitting this issue and noticed the Traceback being
File "/apollo/./bazel-bin/BehAVExplor/main.runfiles/apollo/BehAVExplor/main.py", line 150, in <module>
fuzzer.loop(int(params['total_test_time'])) # seconds
File "/apollo/./bazel-bin/BehAVExplor/main.runfiles/apollo/BehAVExplor/main.py", line 119, in loop
scenario_recorder, scenario_id = runner.run(scenario_obj)
File "/apollo/BehAVExplor/common/runner.py", line 52, in run
sim_recorder = self.sim.run(scenario_obj, scenario_id, self.record_apollo_path)
File "/apollo/BehAVExplor/common/simulator.py", line 478, in run
utils.close_modules(dv, self.modules)
File "/apollo/BehAVExplor/common/utils.py", line 13, in close_modules
module_status = dv.get_module_status()
File "/home/yuqi/.local/lib/python3.6/site-packages/lgsvl/dreamview/dreamview.py", line 221, in get_module_status
self.ws.recv()
So it is actually Dreamview's websocket being broken and I have seen this before when we frequently communicate with Dreamview over socket. Is BehAVExplor expecting me to manually restart Dreamview when this problem happens?
Hi Yuqi,
Sorry, I dont recall facing a similar situation before. So, I am not sure how to solve this issue effectively. Restart maybe a good solution. Thanks.
Hi Mingfei,
I ran BehAVExplor again and this time it seems to move on smoothly. However, after a few hours, I can no longer access Dreamview on localhost:8888, and BehAVExplor is still running.
See screenshot
I've reported this to Apollo before but I cannot provide enough information for them to debug the issue. https://github.com/ApolloAuto/apollo/issues/13134#issuecomment-1195865636
Dreamview's log suggests its backend is still working
I0318 10:03:33.893414 4047347 simulation_world_updater.cc:656] Constructed RoutingRequest to be sent:
waypoint {
id: "lane_477"
s: 18.651878762971553
pose {
x: 593241.49687995552
y: 4135030.957659022
}
}
waypoint {
id: "lane_570"
s: 59.999857800182347
pose {
x: 593130.360748291
y: 4134914.525177
}
}
W0318 10:03:36.611380 4047413 rate.cc:96] Detect forward jumps in time
I0318 10:03:38.099026 4047342 simulation_world_service.h:240] Has not received any data from /apollo/audio_detection
W0318 10:03:40.798460 4047413 rate.cc:96] Detect forward jumps in time
So likely this is an issue of Apollo's Dreamview and I'll close this issue.
@YuqiHuai Hi, I'm having a similar problem, I get the following error when I first run it, can you help me out?
When you first run it? Did you compile an Apollo first? This looks like you have not compiled it, or you compiled it under root but not regular user (inside docker).
Nope, cannot determine the issue yet. When you enter the container, can you run ‘cyber_recorder’?
Hi, I have installed "cyber_recorder" as per the tutorial, but it still doesn't work.
Hi, I have installed "cyber_recorder" as per the tutorial, but it still doesn't work. ![Uploading image.png…]()
![Uploading image.png…]()
Hi Mingfei,
After about 2 hours of running scenario 1, it got frozen. I attached the log from terminal below. Since SVL discontinued, I was using the SVL client you provided, and connected to a local cloud.
Have you seen this issue before or is this likely a SVL issue due to not using official cloud?