Giter Site home page Giter Site logo

colleyli / ros_scenario_simulation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arminstr/ros_scenario_simulation

0.0 0.0 0.0 13.5 MB

Simulation Framework for ROS based path planning algorithms. Uses Scenarios and is intended for CI use.

JavaScript 3.26% C++ 90.15% Python 3.35% CSS 0.20% HTML 0.64% CMake 2.41%

ros_scenario_simulation's Introduction

ROS Scenario Simulation

This project is designed to test the openplanner algorithms, based on "common road" [1] and "openScenario"[2] files. Currently commonroad scenario files are not supported out of the box. The commonroad data structure is used to describe the scenarios. Therefore a commonroad interface should be easy to implement.

Scenarios

Currently the folowing scenarios are provided: Simple swerve around object own our own lane without opposing traffic.

Alt text

Left turn inside an intersection without stoplines or tarfficlights.

Alt text

Simulation/ROS Node Architecture

Alt text

Installation

This repository can be built using catkin build in the scenario_sim_ws directory.

Prerequisites

sudo apt-get install python-catkin-tools
pip install -U rospkg
pip3 install commonroad-io
pip3 install rospkg numpy matplotlib

get depedencies -> execute in /ros_scenario_simulation

sudo rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO

add ad-xolib as git submodule

git submodule add https://github.com/javedulu/ad-xolib.git src/open_scenario_helper/include/ad-xolib

Dependencies

  • ad-xolib Install and build the ad-xolib from source. Additionally, install and build "emscripten" from source. This is needed to build "ad-xolib" or edit the CMakeLists of "ad-xolib" and set emscripten support OFF. At Line 13.

Build library ad-xolib

cd src/open_scenario_helper/include/ad-xolib 
git submodule update --init --recursive 
mkdir build
cd build
cmake .. -DBUILD_EMBED_TARGETS=OFF
make

Build ROS Workspace

If it fails, just try again.

catkin build

Run

roslaunch sim_run run.launch

Info

Citation

Citation Elements Author: Armin Straller, Mathias Pechinger, Carsten Markgraf Title: ROS Scenario Simulation Publisher: University of Applied Sciences Augsburg Place of publication: Germany Date of publication: 2022 URL: https://github.com/arminstr/ros_scenario_simulation

Bibtex

@online{2022_ros_scenario_simulation, author = {Armin Straller and Mathias Pechinger and Hatem Darweesh and Carsten Markgraf}, title = {ROS Scenario Simulation}, publisher = {University of Applied Sciences Augsburg}, address = {Germany}, year = {2022}, url = {https://github.com/arminstr/ros_scenario_simulation} }

References

[1]: Commonroad Scenario Format Definition https://commonroad.in.tum.de

[2]: OpenSCENARIO Format Definition https://www.asam.net/standards/detail/openscenario/

ros_scenario_simulation's People

Contributors

arminstr avatar

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.