GithubHelp home page GithubHelp logo

Comments (8)

abhilashbalachandran avatar abhilashbalachandran commented on July 27, 2024

Can you post the complete console error log?

from apollo_ros_bridge.

Prj1508 avatar Prj1508 commented on July 27, 2024

Pls see below. I am using 16.04, Apollo 3.5. I am running roscore (roscore && ./bazel-bin/cyber_ros_bridge/cyber_ros_bridge) in another terminal and there is no error there.

~/apollo-3.5$ ./docker/scripts/dev_start.sh
[sudo] password for pm:
[INFO] Start docker container based on local image : lgsvl/apollo-3.5:latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
yolo3d_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:33add717a675be26c86f817d2207c1ab1ec25694f0decb63e55f0fc3d14b1397
Status: Image is up to date for apolloauto/apollo:yolo3d_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
137e284cf50de86cf1278dc41206870546dae558677826cec974612b65f185ec
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
localization_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:d8be22d8221c784e8a29af14a23be7fc5f2164137ec24228701e6fdcb689b088
Status: Image is up to date for apolloauto/apollo:localization_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
b7ea78cbdd788c6c4172bdf711852332212f0167710bde707a94fd72ea434ca7
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
paddlepaddle_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:901f110a4f13501e074f599b2c7d636a7584d290f59ef50237a7d77e66d025fb
Status: Image is up to date for apolloauto/apollo:paddlepaddle_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
2361c35385e8ced1354e9300b912bb94db71f66c63e178ab4d8234259506cc9c
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
local_third_party_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:b844c40ab0af0733ce69c38b220a8b14f752bd834f63343392ce8508b98b546b
Status: Image is up to date for apolloauto/apollo:local_third_party_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
bc198cb0037e0e86f6fd8680c5cf4145fbe7e9d9232215967f6ea97ac4a86f49
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libopencv_core.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libopencv_core.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[INFO] Starting docker container "apollo_dev_jpm" ...
++ local_volumes
++ volumes='-v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache'
++ case "$(uname -s)" in
+++ uname -s
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
++ volumes='-v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache -v /dev:/dev -v /media:/media -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /etc/localtime:/etc/localtime:ro -v /usr/src:/usr/src -v /lib/modules:/lib/modules'
++ echo '-v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache -v /dev:/dev -v /media:/media -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /etc/localtime:/etc/localtime:ro -v /usr/src:/usr/src -v /lib/modules:/lib/modules'

  • nvidia-docker run -it -d --privileged --name apollo_dev_jpm --volumes-from apollo_yolo3d_volume_jpm --volumes-from apollo_localization_volume_jpm --volumes-from apollo_paddlepaddle_volume_jpm --volumes-from apollo_local_third_party_volume_jpm -e DISPLAY=:0 -e DOCKER_USER=jpm -e USER=jpm -e DOCKER_USER_ID=1000 -e DOCKER_GRP=apollo -e DOCKER_GRP_ID=1000 -e DOCKER_IMG=lgsvl/apollo-3.5:latest -e USE_GPU=1 -v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache -v /dev:/dev -v /media:/media -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /etc/localtime:/etc/localtime:ro -v /usr/src:/usr/src -v /lib/modules:/lib/modules --net host -w /apollo
    ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    "docker run" requires at least 1 argument.
    See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container

  • --shm-size 2G --pid=host -v /dev/null:/dev/raw1394 lgsvl/apollo-3.5:latest /bin/bash
    ./docker/scripts/dev_start.sh: line 336: --shm-size: command not found
  • set +x
    ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    Error: No such container: apollo_dev_jpm
    [ OK ] Finished setting up Apollo docker environment. Now you can enter with:
    bash docker/scripts/dev_into.sh
    [ OK ] Enjoy!
    pm@devI:/apollo-3.5$ ./docker/scripts/dev_into.sh
    Error: No such container: apollo_dev_jpm
    pm@dev:
    /apollo-3.5$

from apollo_ros_bridge.

Prj1508 avatar Prj1508 commented on July 27, 2024

I am running Apollo within LGSLV Simulator and also I can get into the container when those 3 lines in dev_start.sh is not commented out

from apollo_ros_bridge.

abhilashbalachandran avatar abhilashbalachandran commented on July 27, 2024

Hi @Prj1508 . Thanks for bringing up the issue. I have updated the Readme.md file to reflect the changes. Basically, do not comment out the three lines in dev_start.sh. Do let me know if that fixes the issue so that I can close it.

from apollo_ros_bridge.

Prj1508 avatar Prj1508 commented on July 27, 2024

Thank you. I am now able to run apollo and cyber_monitor alongside apollo-ros bridge.
However, I am not seeing any updates of the topics with rostopic echo on bridge side while cyber_monitor is publishing messages ( with LGSLV). What should I do to see these topics on ROS side? Here is the screen shot

/home/jpm/Pictures/RA_Screenshot from 2019-09-18 17-43-45.png

from apollo_ros_bridge.

Prj1508 avatar Prj1508 commented on July 27, 2024

RA_Screenshot from 2019-09-18 17-43-45

from apollo_ros_bridge.

Prj1508 avatar Prj1508 commented on July 27, 2024

ra3_Screenshot from 2019-09-18 17-51-07

from apollo_ros_bridge.

abhilashbalachandran avatar abhilashbalachandran commented on July 27, 2024

Closing this issue and opening a new one for getting bridge topics listed #7

from apollo_ros_bridge.

Related Issues (17)

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.