Giter VIP home page Giter VIP logo

Comments (11)

andrewraharjo avatar andrewraharjo commented on May 22, 2024

The README guide you followed was intended for MKZ platform. Did you try to follow this https://github.com/ApolloAuto/apollo/blob/master/docs/demo_guide/README.md ?

from apollo.

echotor avatar echotor commented on May 22, 2024

Yes, I follow this https://github.com/ApolloAuto/apollo/blob/master/docs/demo_guide/README.md.
And I can not access the localhost:8887.

from apollo.

echotor avatar echotor commented on May 22, 2024

The output of command bash docker/scripts/release_start.sh:

release-latest: Pulling from apolloauto/apollo
Digest: sha256:5a159e607272e8465fb3be394a6ea342b6c79fc75ec65f7bc8fe57003d0f0ba7
Status: Image is up to date for apolloauto/apollo:release-latest
apollo_release
apollo_release
mknod: /dev/can0: File exists
/home/wangyawei/Apollo/apollo/data/core/core_%e.%p
[WARNING] Failed to find device with pattern "ttyUSB*" ...
[ OK ] Found device: /dev/ttyS4.
[ OK ] Found device: /dev/ttyS31.
[ OK ] Found device: /dev/ttyS30.
[ OK ] Found device: /dev/ttyS29.
[ OK ] Found device: /dev/ttyS28.
[ OK ] Found device: /dev/ttyS27.
[ OK ] Found device: /dev/ttyS26.
[ OK ] Found device: /dev/ttyS25.
[ OK ] Found device: /dev/ttyS24.
[ OK ] Found device: /dev/ttyS23.
[ OK ] Found device: /dev/ttyS22.
[ OK ] Found device: /dev/ttyS21.
[ OK ] Found device: /dev/ttyS20.
[ OK ] Found device: /dev/ttyS19.
[ OK ] Found device: /dev/ttyS18.
[ OK ] Found device: /dev/ttyS17.
[ OK ] Found device: /dev/ttyS16.
[ OK ] Found device: /dev/ttyS15.
[ OK ] Found device: /dev/ttyS14.
[ OK ] Found device: /dev/ttyS13.
[ OK ] Found device: /dev/ttyS12.
[ OK ] Found device: /dev/ttyS11.
[ OK ] Found device: /dev/ttyS10.
[ OK ] Found device: /dev/ttyS9.
[ OK ] Found device: /dev/ttyS8.
[ OK ] Found device: /dev/ttyS7.
[ OK ] Found device: /dev/ttyS6.
[ OK ] Found device: /dev/ttyS5.
[ OK ] Found device: /dev/ttyS3.
[ OK ] Found device: /dev/ttyS2.
[ OK ] Found device: /dev/ttyS1.
[ OK ] Found device: /dev/ttyS0.
[ OK ] Found device: /dev/can0.
[WARNING] Failed to find device with pattern "ram*" ...
[ OK ] Found device: /dev/loop7.
[ OK ] Found device: /dev/loop6.
[ OK ] Found device: /dev/loop5.
[ OK ] Found device: /dev/loop4.
[ OK ] Found device: /dev/loop3.
[ OK ] Found device: /dev/loop2.
[ OK ] Found device: /dev/loop1.
[ OK ] Found device: /dev/loop0.
[ OK ] Found device: /dev/loop-control.
4cab3c422518911edfd688b8b86c420b748ada9355c19d15f1ab4a08e59bb30d
adduser: The user `root' already exists.
THE APOLLO OPEN PLATFORM (“PLATFORM”) FOR AND ON BEHALF OF ITSELF AND ITS SUBSIDIARIES AND AFFILIATES UNDER COMMON CONTROL, IS WILLING TO LICENSE THE SOFTWARE TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE AGREEMENT ("AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY SELECTING THE "ACCEPT LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND/OR BY USING THE SOFTWARE YOU ACKNOWLEDGE THAT YOU HAVE READ THE TERMS AND AGREE TO THEM. IF YOU ARE AGREEING TO THESE TERMS ON BEHALF OF A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT THAT YOU HAVE THE LEGAL AUTHORITY TO BIND THE LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT HAVE SUCH AUTHORITY, OR IF YOU DO NOT WISH TO BE BOUND BY THE TERMS, THEN SELECT THE "DECLINE LICENSE AGREEMENT" (OR THE EQUIVALENT) BUTTON AND YOU MUST NOT USE THE SOFTWARE ON THIS SITE OR ANY OTHER MEDIA ON WHICH THE SOFTWARE IS CONTAINED.
1. DEFINITIONS. "Software" means the software identified above in binary form that you selected for download, install or use (in the version You selected for download, install or use) from Baidu or its authorized licensees, any other machine readable materials (including, but not limited to, libraries, source files, header files, and data files), any updates or error corrections provided by Baidu, and any user manuals, programming guides and other documentation provided to you by Baidu under this Agreement.
2. LICENSE GRANT: Subject to the terms and conditions of this Agreement, with the exception of different license terms and license grants for separate, individual third-party components as set forth below, the Software is licensed to you under the terms of the Apache 2.0 license available at:  https://www.apache.org/licenses/LICENSE-2.0.  You agree to these terms with respect to the Software.
3. THIRD PARTY CODE:  Additional copyright notices and license terms applicable to portions of the Software are set forth below in Appendix A.  You expressly agree to the license terms associated with third party code set forth in Appendix A.  In addition to any terms and conditions of any third party license identified in Appendix A, the disclaimer of warranty and limitation of liability provisions in paragraphs 4 and 5 of this License Agreement shall apply to all Software in this distribution.  YOU EXPRESSLY AGREE THAT YOU HAVE REVIEWED THE TERMS OF THE AGREEMENTS LINKED TO AND RESTATED IN APPENDIX A TO THIS AGREEMENT, AND THAT YOU AGREE TO THE TERMS OF THOSE AGREEMENTS.
4. DISCLAIMER OF WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. BAIDU FURTHER DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
5. LIMITATION OF LIABILITY. IN NO EVENT SHALL BAIDU BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT, EVEN IF BAIDU HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. BAIDU’S ENTIRE LIABILITY FOR DAMAGES HEREUNDER SHALL IN NO EVENT EXCEED ONE ONE CENT (U.S. $0.01).
Type 'y' or 'Y' to agree to the license agreement above, or type any other key to exit
y

The output of command bash docker/scripts/release_into.sh:

wangyawei@wangyawei-pc:~/Apollo/apollo/docker/scripts$ sudo ./release_into.sh 
[sudo] password for wangyawei: 
root@in_release_docker:/apollo# rosbag play docs/demo_guide/demo.bag --loop
[ INFO] [1499242992.266823704]: Opening docs/demo_guide/demo.bag

Waiting 0.2 seconds after advertising topics... done.

Hit space to toggle paused, or 's' to step.
 [RUNNING]  Bag Time: 1497125277.956472   Duration: 8.813993 / 41.613536

from apollo.

echotor avatar echotor commented on May 22, 2024

And I open the site localhost:8887 in chrome and like this:
image

from apollo.

andrewraharjo avatar andrewraharjo commented on May 22, 2024

You should have something out like this

 OK ] Found device: /dev/loop3.
[ OK ] Found device: /dev/loop2.
[ OK ] Found device: /dev/loop1.
[ OK ] Found device: /dev/loop0.
[ OK ] Found device: /dev/loop-control.
c222d5edc570c169a2ec8a5cb99e1908d947d6a6ddc46fac9ccde20a049d4900
Adding user `dev-box' ...
Adding new group `dev-box' (1000) ...
Adding new user `dev-box' (1000) with group `dev-box' ...
The home directory `/home/dev-box' already exists.  Not copying from `/etc/skel'.
Start roscore...
HMI ros node service running at localhost:8887
HMI running at http://localhost:8887

from apollo.

echotor avatar echotor commented on May 22, 2024

@andrewraharjo But I have no those infomation. Why?

from apollo.

andrewraharjo avatar andrewraharjo commented on May 22, 2024

test

from apollo.

andrewraharjo avatar andrewraharjo commented on May 22, 2024

@echotor couple questions

  1. Are you running 14.04 Ubuntu ?
  2. Did you try to update your user permission to run docker ?

from apollo.

echotor avatar echotor commented on May 22, 2024
  1. My host system is Ubuntu 16.04
  2. I use sudo to run the command.

from apollo.

andrewraharjo avatar andrewraharjo commented on May 22, 2024

@echotor Got you, 16.04 hasn't tested yet I assume.

  1. If you look here you can see that it's recommended to install Ubuntu 14.04.3

  2. You might want to add usermod for running docker. The bash scripts won't override your docker permission.

You can do these following steps:
1.$ sudo usermod -aG docker ${USER}
2. $su - ${USER}
3. $id -nG
4. $sudo usermod -aG docker "your_username"

for your_username you can fill wangyawei

from apollo.

echotor avatar echotor commented on May 22, 2024

Thank you @andrewraharjo I found the reason is my permission. I solve it.

from apollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.