ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Autoware Runtime Magager Error in Docker

asked 2021-02-17 19:40:12 -0600

Mai Bui gravatar image

updated 2021-02-18 08:24:36 -0600

I install Autoware using Docker based on this link: https://github.com/Autoware-AI/autoware.ai/wiki/Generic-x86-Docker

Then, I tried to run ROSBAG demo https://github.com/Autoware-AI/autowa...link text

Problem 1: I have the extracted bag demo file and I can see the files in my ".autoware" Folder. But when I launched Autoware in Docker, I could not choose the bag file in the ".autoware" folder. The screenshots are attached below.

Problem 2: I tried to put the data in the ‘shared_dir’ folder so I was able to choose the bag file. However, I also could not run the ".lauch" file. The Rviz only shows a static car simulation. There is no map, no localization, etc,... even though I have press the button on the left in the Quick Start tab.

In this link, it said when I open the my_map.launch file in the Quick Start tab, it should have the "OK" message in the same line. I did not see any "OK" message so I think it could be an error.

I use Ubuntu 18.04. The screenshots are all here

Any help would be greatly appreciated. Thanks much!

edit retag flag offensive close merge delete

Comments

~/.autoware directory is not mirrored into the docker container. only $HOME/shared_dir is mirrored. you should download and extract the bag files from inside the docker container.

liyou zhou gravatar image liyou zhou  ( 2021-02-18 03:38:52 -0600 )edit

Thanks for your reply. So I tried to do that too and it leads to Problem 2. Sorry for not being clarified. I added the config file and added the launch files then press the button on the left. But it only shows a static white car. And there is no map, no localization,... showed in Rviz.

Mai Bui gravatar image Mai Bui  ( 2021-02-18 08:23:31 -0600 )edit

you should download and extract the bag files from inside the docker container to the ~/.autoware folder.

liyou zhou gravatar image liyou zhou  ( 2021-02-18 08:38:11 -0600 )edit

So you mean the .autoware folder should be inside the shared_dir?

Mai Bui gravatar image Mai Bui  ( 2021-02-18 09:00:59 -0600 )edit

no, it should be at "~/.autoware"

liyou zhou gravatar image liyou zhou  ( 2021-02-18 09:08:28 -0600 )edit

So I was able to see the bag file now. Thanks! But when I launch the my_map, it only shows partial of the map. I also notice the storage mounted on "/" takes up so fast. When I restart the computer, it has 50% storage available but when I run Docker, the storage takes up to 90-100%, and not much storage available. Is it because of the storage that when I launch the map, it only shows partly and it runs very slow. The storage mounted on "/" has 46GB total.

Mai Bui gravatar image Mai Bui  ( 2021-02-18 10:06:17 -0600 )edit

runner docker images could take up some space. you can clean up space following this: https://docs.docker.com/config/pruning/

liyou zhou gravatar image liyou zhou  ( 2021-02-18 10:12:54 -0600 )edit

That’s great. Thank you very much for your help. I really appreciate since I spend too much time on this. Thanks again!

Mai Bui gravatar image Mai Bui  ( 2021-02-18 10:15:55 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2021-11-10 05:42:50 -0600

Hello, I meet the similiar problem. I follow the ROSBAG demo (docker Autoware 1.14 + ubuntu 20.04). When I load "my_map.launch" and click "Map" in the quick start page in Autoware. There is no "Ok" to the right of Ref button, and no point cloud in RVIz. There is no any error information in the terminal. Do you know what the problem might be? Thanks.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-02-17 19:40:12 -0600

Seen: 265 times

Last updated: Feb 18 '21