Datasets:

ArXiv:
Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    BadZipFile
Message:      File is not a zip file
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/text/text.py", line 75, in _generate_tables
                  for file in files_iterable:
                              ^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/file_utils.py", line 1401, in _iter_from_urlpaths
                  if xisfile(urlpath, download_config=download_config):
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/file_utils.py", line 745, in xisfile
                  fs, *_ = url_to_fs(path, **storage_options)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/core.py", line 395, in url_to_fs
                  fs = filesystem(protocol, **inkwargs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/registry.py", line 293, in filesystem
                  return cls(**storage_options)
                         ^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/spec.py", line 80, in __call__
                  obj = super().__call__(*args, **kwargs)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/implementations/zip.py", line 62, in __init__
                  self.zip = zipfile.ZipFile(
                             ^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1354, in __init__
                  self._RealGetContents()
                File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1421, in _RealGetContents
                  raise BadZipFile("File is not a zip file")
              zipfile.BadZipFile: File is not a zip file
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1919, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

text
string
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
End of preview.
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

SensoDat: Simulation-based Sensor Dataset of Self-driving Cars

Jupyter Notebook Code: https://huggingface.co/datasets/it4lia/sensodat/blob/main/analysis.ipynb

Latest Release on Zendodo: DOI

Original Paper Artifact: DOI

SensODAT: Sensor Data of Autonomous Driving Tests

SensoDat is a dataset of self-driving car simulation data (32,580 executed simulations across 14 campaigns). The simulations were generated using state-of-the-art test generators (Frenetic, Frenetic-V, and AmbieGen) and executed in the BeamNG simulation environment.

Dataset Overview

Concretely, the dataset contains:

  • Simulation description data in ASAM OpenDRIVE format
  • Trajectory logs for each execution
  • Sensor data as time series of 81 simulated sensors/properties
  • Execution metadata (configuration, duration, validity, and predicted outcomes)
  • PASS/FAIL results based on the OOB (Out-of-Bounds) safety metric

The recorded sensor streams include vehicle dynamics and control signals such as RPM, wheel speed, throttle and brake input, brake temperatures, steering signals, transmission states, ABS/ESC activity, and many more.

Scale & Storage

  • 32,580 total simulation executions
  • 81 sensors per test case
  • 3.34 GB of structured data
  • Stored in MongoDB for efficient querying and large-scale analysis

All data was collected from high-fidelity soft-body physics simulations, enabling realistic vehicle dynamics representation without requiring researchers to re-execute computationally expensive simulation campaigns.

Research Applications

SensODAT supports research in:

  • AI and machine learning for autonomous systems
  • Regression testing and test prioritization
  • Simulation flakiness analysis
  • Safety validation and fault detection
  • Reproducibility and benchmarking in simulation-based SDC testing

Reference

Associated Paper

@inproceedings{sensodat,
  author       = {Christian Birchler and
                  Cyrill Rohrbach and
                  Timo Kehrer and
                  Sebastiano Panichella},
  title        = {SensoDat: Simulation-based Sensor Dataset of Self-driving Cars},
  booktitle    = {21th {IEEE/ACM} International Conference on Mining Software Repositories,
                  {MSR} 2024, Lisbon, Portugal, April 15-16, 2024},
  year         = {2024},
  doi          = {to appear},
}

@article{sensodat-preprint,
  author       = {Christian Birchler and
                  Cyrill Rohrbach and
                  Timo Kehrer and
                  Sebastiano Panichella},
  title        = {SensoDat: Simulation-based Sensor Dataset of Self-driving Cars},
  journal      = {CoRR},
  volume       = {abs/2401.09808},
  year         = {2024},
  url          = {https://doi.org/10.48550/arXiv.2401.09808},
  doi          = {10.48550/ARXIV.2401.09808},
  eprinttype    = {arXiv},
  eprint       = {2401.09808},
}

Requirements

You need to have Docker installed and running.

NOTE: The following instructions were tested with Windows and Linux with 32GB RAM.

Automatic setup

To set up a MongoDB with the SDC simulation data, ensure Docker is up and running. Then simply execute the setup.sh (Linux/MacOS) or setup.bat (Windows) script.

Automatic clean up

To tear down the database simply execute the cleanup.sh (Linux/MacOS) or cleanup.bat (Windows) script.

Manual setup

Run the following commands in the exact order to setup the database:

Start an uploader and a mongo container:

docker compose -f ./environment/docker-compose.yml up -d --build

Verify the containers are up and running:

docker ps

Copy the data to the uploader container:

docker cp ./data uploader:/app/data

Unzip the data in the uploader container:

docker exec uploader unzip ./data/data.zip -d ./data

Copy the code to upload the data to the mongo container:

docker cp ./code uploader:/app/code

Upload the data to the mongo container:

docker exec -it uploader python ./code/fill_mongodb.py

To tear down the database when you don't need it anymore:

docker compose -f ./environment/docker-compose.yml up down

License

    SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
    Copyright (C) 2024  Christian Birchler & Sebastiano Panichella (AI4I - The Italian Institute of Artificial Intelligence for Industry, sebastiano.panichella@ai4i.it)

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
Downloads last month
-

Paper for it4lia/sensodat