Giter VIP home page Giter VIP logo

driverbehaviordataset's Introduction

Driver Behavior Dataset

The dataset is a collection of smartphone sensor measurements for driving events. An Android application is used to record smartphone sensor data, like accelerometer, linear acceleration, magnetometer and gyroscope, while a driver executed particular driving events.

We performed the experiment in 4 car trips of approximately 13 minutes each, in average. The experiment's conditions, its setup and data labelling were the following:

  1. The vehicle was a 2011 Honda Civic;
  2. The smartphone was a Motorola XT1058 with Android version 5.1;
  3. The smartphone was fixed on the car's windshield by means of a car mount, and was neither moved nor operated while collecting sensor data;
  4. The motion sensors sampling rate varied between 50 and 200 Hz, depending on the sensor;
  5. Two drivers with more than 15 years of driving experience executed the driving events; and
  6. The weather was sunny and the roads were dry and paved with asphalt.
  7. The Android app which collected sensor data also displayed a realtime timer with milliseconds precision. The timer would display the elapsed time in the current trip which could be later converted to match the "uptimeNanos" field in the datasets.
  8. During the experiments, there were two people in the car. The driver and an assistant in the back seat who filmed the experiment.
  9. The recorded video showed the front window view, the driver's movements, the car steering wheel, velocimeter and tachometer, and the smartphone (displaying the running timer) mounted in the car panel. With this arrangement, someone watching the video later on could tell exactly when the driving event started and ended. That is how the data was labelled.
  10. Both drivers were not experts in this field, but they had plenty of driving experience.
  11. According to a predefined schedule, the assistant asked the driver to execute a specific driving event type (e.g. aggressive braking, aggressive cornering) and waited for its execution while recording the video. There were no detailed instructions on how the maneuver should be performed. Hence, we relied on the driver's perception and experience on how to perform an aggressive or non-aggressive maneuver.

Our purpose was to establish a set of driving events that represents usual real-world events such as breaking, acceleration, turning, and lane changes. The table below shows the 7 driving events types we used in this work and their number of collected samples. We strived to collect a balanced number of samples for each driving event type. However, we discarded 11 lane change events due to errors during the experiment. Therefore, the number of these events is slightly unbalanced. We also made our best effort to evenly distribute event samples between both drivers.

Driving Event Type # of samples
Aggressive breaking 12
Aggressive acceleration 12
Aggressive left turn 11
Aggressive right turn 11
Aggressive left lane change 4
Aggressive right lane change 5
Non-aggressive event 14
Total 69

Dataset structure

Each folder represents a car trip containing the following 6 files:

  • aceleracaoLinear_terra.csv - File with the Linear Acceleration in 3 axis.
  • acelerometro_terra.csv - File with the Acceleration in 3 axis.
  • campoMagnetico_terra.csv - File with the Magnetometer readings in 3 axis.
  • giroscopio_terra.csv - File with the Gyroscope readings in 3 axis.
  • groundTruth.csv - File with the start and end timestamps for each event.
  • viagem.json - Info about the smartphone used.

The following fields are commom in the files:

  • timestamp - Timestamp when the record is taken.
  • uptimeNanos - Time in nanoseconds since the smartphone start.

The groundTruth.csv file has the start and end of the events, and the following fields:

  • evento - Type of event, which may be one of the following:
    • evento_nao_agressivo - Non-aggressive event
    • curva_direita_agressiva - Aggressive right turn
    • curva_esquerda_agressiva - Aggressive left turn
    • troca_faixa_direita_agressiva - Aggressive lane change to the right
    • troca_faixa_esquerda_agressiva - Aggressive lane change to the left
    • freada_agressiva - Aggressive breaking
  • inicio - Start of the event in seconds.
  • fim - End of the event in seconds

The fields inicio and fim are counted since the start of the trip, so if the inicio field is 2 and the fim field is 4.5, the event started in the second 2 of the trip and ended in the second 4.5.

Related work

The folowing work used this data set:

If you use this dataset in your work, fell free to send a PR to keep this list updated.

driverbehaviordataset's People

Contributors

brunovf1 avatar jair-jr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

driverbehaviordataset's Issues

Code for preprocessing data does not work

The code that you have provided for preprocessing is not working, and it is giving continous errors (in R). Is there some latest version of the dataset available ?

Data Characteristics

Hi, thank you for sharing the dataset. I am working on driving event detection using inertial sensors. I have logged some data through my IOS device (SensorLog application).
I wanted to compare my generated signals with your dataset. I was wondering if you could let me know regarding some of the characteristics of your data such as scale and maximum range.

About filming the process.

Hello dear, first of all thank you for sharing your work, its extraordinary. I have a question about labelling the data, can you tell me how did you label a certain action as aggressive turning or aggressive braking? If you have the videos that was filmed uploaded somewhere and would share them that would be awesome. I am working on similar project and your work has helped a lot.

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.