Code Monkey home page Code Monkey logo

Comments (6)

dmatos2012 avatar dmatos2012 commented on June 13, 2024

@jS5t3r maybe not an issue per se, but dont know where else to get information about this. I saw you have ros melodic, 1.12 and carla 0.97 on ubuntu 18.04, but it says carla 0.9.6 and kinetic required. Did you change the dockerfile or have you installed any other way(like build from source)? I am currently struggling so your help would be massive ot connect autoware + carla with ubuntu 18.04 and melodic(so your current setup).

from carla-autoware.

jS5t3r avatar jS5t3r commented on June 13, 2024

No, I did not change the docker filer.

nvidia-docker run -p 2000-2001:2000-2001 -it --rm carlasim/carla:0.9.7 ./CarlaUE4.sh
roslaunch $CARLA_AUTOWARE_ROOT/devel.launch role_name:=ego_vehicle
rviz  # load the config from ~/autoware/Autoware/ros/src/.config/rviz/default.rviz

@dmatos2012 on the discord channel I wrote with one of the carla developers and "there should not be any major problems."

  1. CUDA 10.0 must be installed. In the .zshrc I added:
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}$ 
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
  1. I installed from source version v1.12.0: https://gitlab.com/autowarefoundation/autoware.ai/autoware/-/wikis/Source-Build

You can also use: (https://github.com/carla-simulator/carla-autoware/tree/master/docker)

I added these lines to my ~/.zshrc

source /opt/ros/melodic/setup.zsh
source ~/autoware.ai/install/setup.zsh
export CARLA_AUTOWARE_ROOT=~/carla-autoware/autoware_launch
export CARLA_MAPS_PATH=~/carla-autoware/autoware_data/maps
source $CARLA_AUTOWARE_ROOT/../catkin_ws/devel/setup.zsh
export PYTHONPATH=$PYTHONPATH:~/carla-python/carla/dist/carla-0.9.7-py2.7-linux-x86_64.egg:~/carla-python/carla/

from carla-autoware.

jS5t3r avatar jS5t3r commented on June 13, 2024

@dmatos2012 could you manage to get something run?

You have to change the role name from hero to ego_vehicle:
roslaunch $CARLA_AUTOWARE_ROOT/devel.launch role_name"=ego_vehicle

But it does not work all the time. I sometime I click select a new 2D Pose Estimate 20 times...
The global waypoints are shown randomly, but if they are shown (fixed frame: world), I can calculate some routes...

@felipecode will this carla-autoware repository updated? I saw that for Autoware1.14 is planned to have carla bridge inside: https://gitlab.com/vimalrajliya/simulation/-/tree/68afbc8a68ba13fc7fa67ce21e567c6943068ce7/carla_simulator_bridge

from carla-autoware.

fpasch avatar fpasch commented on June 13, 2024

@jS5t3r Our plan is to move the content of this repo into autoware.

from carla-autoware.

dmatos2012 avatar dmatos2012 commented on June 13, 2024

@jS5t3r Thanks man, thats a huge help! I have not been able to get it working yet, because we are still deciding what final setup we are gonna use. But at least i know its doable with your setup. and with Autoware 1.14!.

Let us know if you change something else to get it fully working.

from carla-autoware.

jS5t3r avatar jS5t3r commented on June 13, 2024

I needed to download these https://bitbucket.org/carla-simulator/autoware-contents/src/master/maps/
into ~/carla-autoware/autoware_data/maps then it was fully working...

and I use carla 0.9.6

from carla-autoware.

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.