Giter VIP home page Giter VIP logo

simulators's Introduction

Simulators

Dependencies Installation

sudo add-apt-repository ppa:sumo/stable sudo add-apt-repository ppa:deadsnakes/ppa #python 3.7 venv

Ubuntu 20.04

sudo gedit /etc/apt/sources.list Add the following line at the end of the file: deb http://cz.archive.ubuntu.com/ubuntu bionic main universe

Regular

sudo apt-get update

sudo apt-get upgrade -y

sudo apt-get install bison build-essential cmake default-jre doxygen flex gcc gnome-color-chooser graphviz g++ libboost-all-dev libboost-date-time-dev libboost-dev libboost-system-dev libcrypto++-dev libgeographic-dev libopenmpi-dev libosgearth-dev libpcap-dev libqt5opengl5-dev libwebkitgtk-3.0-0 libxml2-dev nemiver openmpi-bin openscenegraph-plugin-osgearth perl python-dev python3-dev python3.7 python3.7-dev python3.7-venv qt5-default sumo sumo-tools sumo-doc tcl-dev tk-dev ubuntu-desktop wget zlib1g-dev

Paths Configuration

gedit ~/.bashrc #Adding the paths source ~/.bashrc #Save changes without closing terminal

export CARLA_HOME=$HOME/src/carla-simulator export CARLA_VERSION=0.9.13

export SUMO_HOME="/usr/local/opt/sumo/share/sumo" export SUMO_HOME=/usr/share/sumo

export PATH=$HOME/src/omnetpp-5.6.2/bin

Virtual Environment

cd Path/To/Carla/

python3.7 -m venv vCarla

source vCarla/bin/activate #To use before launching any python script in the Carla Folder

pip3 install lxml

Artery

Enable sumo-gui

cd Path/To/Artery/scenarios/artery

Edit the file omnetpp.ini: add the line *.traci.launcher.sumo = "sumo-gui"

Save the file

References

Installation of Omnetpp with Ubuntu 20.04: https://www.youtube.com/watch?v=oBRrhuaMxGk

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.