Apollo: Can't open file

Created on 11 Jul 2017  ·  8Comments  ·  Source: ApolloAuto/apollo

apollo

How to fix this problem?

Question

Most helpful comment

I see the problem. The document is misleading.
In the README.md

# in a different terminal inside docker
rosbag play -l ./docs/demo_guide/demo.bag

inside docker means inside the docker container, not the docker directory. There is accidentally a docker directory.
I will update the misleading document.
Thanks for reporting this problem.

All 8 comments

which command leads to this problem?
In which directory did you run this command?

In docker
command: rosbag play -l ./docs/demo_guide/demo.bag

Can you find this file demo.bag in your directory?
Can you show me the output of the command?


If it the file is really not there for some reason, you can download it by

wget https://github.com/ApolloAuto/apollo/blob/master/docs/demo_guide/demo.bag

Then run

rosbag play -l demo.bag

yes, file is there.
output of pwd: /home/nvidiapx2/Desktop/apollo/apollo-master/docker

You need to run the command rosbag play -l ./docs/demo_guide/demo.bag in the apollo folder.

In your case, I guess you need to be in folder to run this command, so that the relative path can be valid.

 /home/nvidiapx2/Desktop/apollo/apollo-master/

Wow, it works!!
Thank you so much.
But why is that, according to the tutorial I should run the cmd under docker, right?

It might be a misunderstanding from me.

I see the problem. The document is misleading.
In the README.md

# in a different terminal inside docker
rosbag play -l ./docs/demo_guide/demo.bag

inside docker means inside the docker container, not the docker directory. There is accidentally a docker directory.
I will update the misleading document.
Thanks for reporting this problem.

Was this page helpful?
0 / 5 - 0 ratings