Autoware Runtime Magager Error in Docker
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!
~/.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.
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.
you should download and extract the bag files from inside the docker container to the ~/.autoware folder.
So you mean the .autoware folder should be inside the shared_dir?
no, it should be at "~/.autoware"
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.
runner docker images could take up some space. you can clean up space following this: https://docs.docker.com/config/pruning/
That’s great. Thank you very much for your help. I really appreciate since I spend too much time on this. Thanks again!
When I restart the computer, the bag file disappeared. Is it supposed to be like that, we have to extract the files every time we reboot?
yes this is due to how docker works.