Skip to content

zhuanghany11/TacticsCarla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo aims at exploring co-simulation between carla and tactics2d

The system use docker (ubuntu20.04, python 3.8) to build environment which contains two parts:

  • a carla client at version 9.12 (Only cara client PythonAPI, no server)
  • a tactics2d simulator at version 0.17

There are two targets:

  1. realize carla-based agent in tactics2d. Spawn a vehicle by tactics2d, but the vehicle is controlled by carla, tactics2d is only to visualize and life-cycle management.
  2. realize 2D BEV visualization of carla world using tactics2d. Xodr parser in tactics2d is used to visualize road while dynamic objects are visualized in tactics2d by fetching real-time object information from carla server.

setup environment

In Docker folder, run build_image.sh to build docker image from Dockerfile.

Afterwards, use run_container.sh to run the docker.

In the docker, run following command to visualize the carla town.

cd main
python3 main.py

Additional examples to connect carla or tactics2d can be found in PythonAPI/examples and tactics2d/docs/tutorial.

Something useful for understanding carla-client docker

https://github.com/unicorns/carla-client-docker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages