Skip to content

DLR-TS/OSTAR-Quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart for OSTAR

OSTAR is a set of software tools for automotive simulation. OSTAR enables a simulation where vehicles in CARLA are controlled by external models. Theses models are packaged with FMI and use OSI messages for communication. The integration of theses models to CARLA is given by the GroundTruth, SensorView and TrafficUpdate messages.

This Quickstart shows how to use OSTAR. Further customization is possible and can be found in the documentation. OSTAR is an implementation of the SetLevel generic simulation architecture. OSTAR also supports SUMO to generate traffic scenarios.

Requirements

System capable to run docker containers and a GPU to support CARLA.

Installation

In the setup.sh script, you can choose to either download or build SCS (Single Container Simulation) or build DS (Distributed Simulation).
It is recommended to start with the download of SCS since the first build of SCS takes up to one hour. Only move to a distributed simulation if neccessary, like the integration of a Windows only FMU into the simulation.
Your selection is stored in setup.txt and can be changed by calling setup.sh again.\

git clone https://github.com/DLR-TS/OSTAR-Quickstart.git
cd OSTAR-Quickstart
chmod +x *.sh
./setup.sh --docker

Run

To run the simulation choose between the provided examples. You can select the scenarios interactively or by parameter.

./run.sh --visual

Available runtimeparameter are:
--visual to open CARLA window
--verbose to enable verbose logs
<0-7> to select a predefined scenario by index\

The simulation runs the scenario and will generate OSI trace files in a new output directory.

Further information

Check out the OSTAR documentation at OSTAR Quickstart.

Contacts

[email protected] [email protected] [email protected]

This software was originally developed as part of SetLevel.