run demo: docker/scripts/release_start.sh but blocked (运行阻塞了)
i use vmware, ubuntu14.04. I have successfully install docker. then follow the docs in the demo_guide directory. when run docker/scripts/release_start.sh It can successfully download many files. then run to tell me type 'y' to agree licence. when i type 'y' , it block( 阻塞在那里了) then I quit by CTRL_C and run "docker/scripts/release_start.sh but blocked" again. AS follow: root@ubuntu:/opt/APOLLO/apollo-master# bash docker/scripts/release_start.sh APOLLO_ROOT_DIR=/opt/APOLLO/apollo-master Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)_ apollo_release apollo_release /opt/APOLLO/apollo-master/data/core/core_%e.%p [WARNING] Failed to find device with pattern "ttyUSB*" ... [ OK ] Found device: /dev/ttyS31. [ OK ] Found device: /dev/ttyS30. [ OK ] Found device: /dev/ttyS29.
why?
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
how to resolve?
@luckdsfy your second problem looks like a network connection problem.
This problem has been fixed. please pull the latest code.
@wanglei828 I down the latest code and It runs ok now.
but:
when i run:
rosbag play docs/demo_guide/demo.bag --loop
fail msg: bash: rosbag: command not found
how to resolve?
Are you running the rosbag command in docker or not? If in docker, the rosbag command should work fine. I just tried in my machine.
If you are not in docker, you can try source the ros/setup.bash by
source bazel-apollo/external/ros/setup.bash
And see if command rosbag works or not.
@wanglei828 I follow the readme in apollo-master\apollo-master\docs\demo_guide step by step?
how to running the rosbag command in docker ? any tip in the readme? why rosbag command not founded?
You can follow these steps:
- ./docker/scripts/dev_start.sh
- ./docker/scripts/dev_into.sh
- rosbag play docs/demo_guide/demo.bag --loop
I run the demo on vmware ubuntu14.04, follow the readme in apollo-master\apollo-master\docs\demo_guide: 1 ./docker/scripts/release_start.sh 2 ./docker/scripts/release_into.sh 3 rosbag play docs/demo_guide/demo.bag --loop
@wanglei828 I try
./docker/scripts/dev_start.sh ./docker/scripts/dev_into.sh rosbag play docs/demo_guide/demo.bag --loop
the same fail message: bash: rosbag: command not found
Is something i have not install ? how to install rosbag command ?
@luckdsfy In dev docker, If you have never built apollo repo, ros package will not be downloaded into your environment.
Please follow this way:
- ./docker/scripts/dev_start.sh
- ./docker/scripts/dev_into.sh
- ./apollo.sh build
- source scripts/apollo_base.sh
^ This works. Thanks