Skip to content

cognitive-robots/road-recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoAD Simulator (road-sim)

Overview

The RoAD project is about Responsible AV Data - ethical, legal, and societal challenges of using data from autonomous vehicles.

In the event of an accident or a 'near miss', a vehicle should log data to its Event Data Recorder (EDR). Ideally, this should include:

  • Data before the event (typically 5 seconds)
  • Data after the event (typically 2 seconds)
  • Vehicle state (acceleration, braking, steering, etc.)
  • Autonomous sensor data, e.g.:
    • Camera images
    • LiDAR point clouds
  • Perception data

The purpose of this project is to provide such data to explore its usefulness and inform discussion.

This is being done with the use of simulators such as CARLA.

Manually driving in CARLA:

Manual driving rear-end collision

Camera data saved in the EDR (front, rear, left, right):

EDR front camera during collision EDR rear camera during collision EDR left camera during collision EDR right camera during collision

Scene reconstruction from EDR data:

EDR scene reconstruction of collision

Dependencies

Python package dependencies:

  • carla
  • json
  • numpy
  • open3d
  • pygame
  • transforms3d

Structure

The project has a package for each simulator (i.e. carlasim) and a shared edr package for the generic Event Data Recorder.

road-sim/
├── apps/
├── carlasim/
│   ├── control/
│   ├── core/
│   ├── edrsensors/
│   ├── scenarios/
│   ├── sensors/
│   └── utilities/
├── docs/
└── edr/

Applications

The apps package contains Python application programs and shell scripts for this project (see below).

Scenarios

Any Python programs in carlasim/scenarios/ activate various scenarios in CARLA. They basically spawn specific actors at specific locations then start them moving (if appropriate).

However, they're now mostly redundant with the newer data-driven scenarios provided by JSON files in the same folder.

Applications and Scripts

About

RoAD Recorder - Responsible AV Data Recorder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published