tier4 / autoware-online-document

Apache License 2.0
7 stars 2 forks source link

Rviz2 crash with docker container #10

Open leochien1110 opened 1 year ago

leochien1110 commented 1 year ago

Hi,

I am trying to test run the planning_simulation by following the steps and everything works fine until the following line:

ros2 launch autoware_launch planning_simulator.launch.xml map_path:=$HOME/autoware_map/sample-map-planning vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit

Rviz2 keeps crashing with the command and not be able to run. Even after the launch file has been running with map frame available, runing the rviz2 in another terminal, the same issue happens:

rviz2 -d /autoware/install/autoware_launch/share/autoware_launch/rviz/autoware.rviz -s /autoware/install/autoware_launch/share/autoware_launch/rviz/image/autoware.png

Here's the last couple of lines of the log:

...
[INFO] [1686646324.780229458] [rviz2]: Actual frame buffer FSAA: 4, gamma: 0, colourBufferSize: 32
[INFO] [1686646324.780647101] [rviz2]: Created GL 3.0 context
[INFO] [1686646324.781219127] [rviz2]: GLXWindow::create used FBConfigID = 211
[INFO] [1686646324.781264919] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1686646324.781614396] [rviz2]: Using FSAA from GL_ARB_multisample extension.
Warning: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
         at line 93 in ./src/buffer_core.cpp
Warning: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
         at line 93 in ./src/buffer_core.cpp
Segmentation fault (core dumped)

Do you have any clue to solve this issue?

Let me know if you would like to check the entire log since it's quite long.

Thank you in advanced.

shmpwk commented 1 year ago

@leochien1110 Sorry for very late replay.

Rviz2 keeps crashing with the command and not be able to run.

Could you share your screen shot of the situation ?

Here's the last couple of lines of the log:

We want to know more about the error. So could you share your entire log? I think it is better to share via text file.