ApolloAuto/apollo

Perception module keeps turning off in Dreamview

Closed this issue · 4 comments

krtt commented

When I follow the tutorial here to run Apollo 5 with the SVL sim, after starting Apollo Dreamview and turning on the perception module, it turns off automatically in ca 2-6 seconds.

Steps to reproduce the behavior:

  1. To start Apollo, follow the tutorial here
  2. After reaching the step where you open Dreamview and turn on the perception module, observe it turn off by itself.

I expect it to stay on after I turn it on. Or notify me with a clear (error) message if something is wrong.

Screenshot:

image

Perception log from /data/log:

Running on machine: in-dev-docker
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0622 00:17:41.203817  9916 class_loader_utility.h:79] registerclass:MotionService,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_camera.so
I0622 00:17:41.212216  9916 class_loader_utility.h:79] registerclass:FusionCameraDetectionComponent,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_camera.so
I0622 00:17:41.212285  9916 class_loader_utility.h:79] registerclass:MotionService,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_camera.so
I0622 00:17:41.212306  9916 class_loader_utility.h:79] registerclass:LaneDetectionComponent,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_camera.so
I0622 00:17:41.212359  9916 class_loader_utility.h:79] registerclass:TrafficLightsPerceptionComponent,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_camera.so
I0622 00:17:41.224659  9916 trafficlights_perception_component.cc:139] tl_tf2_frame_id: world tl_tf2_child_frame_id: novatel tf2_buff_size: 0.01
I0622 00:17:41.224740  9916 trafficlights_perception_component.cc:156]  _image_timestamp_offset: 0
I0622 00:17:41.224747  9916 trafficlights_perception_component.cc:160] _proc_interval_seconds: 0.125

Desktop:

  • OS: Kubuntu 18.04
  • Browser Firefox 89.0.1

For now I don't know where the problem is. Could you pls provide more information?

Confirm whether there is a core_dump in data/core or check the log in main_board.INFO

I have a similar issue and cannot figure out why. Could it possibly be due to GPU out of memory? I notice that, before I enable perception, I'm close to the max GPU memory.
(this is the same modules enabled as above, with perception not enabled)
image

Then, I enable perception. Checking nvidia-smi, I notice that I very briefly get an uptake in GPU memory while a process "mainboard" spins up.
image

Then the perception automatically toggles off, and the mainboard process disappears...don't see anything suspicious in the log either.

As a result (potentially), I'm not able to exercise the route-editing and route-request. I can put a POI on the map, but when I send a request, all that happens is a line is drawn on the map, but no movement of the vehicle.

Notably, I'm able to get "traffic light" to be enabled for longer, but sometimes all of the sudden it will turn off automatically.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.