Skip to main content

Spatial formats for CSV files.

Project description

cnspy_spatial_csv_formats Package

This package holds header and format definitions for CSV-files that hold timestamped 3D spatial information. By spatial

  • 3-DoF relative position (),
  • 3-DoF attitude (orientation represented by quaternions),
  • 6-DoF pose (position + attitude)
  • 6-DoF pose with uncertainty.

File headers are in the first line of a CSV file starting with a #, followed by a sequence of unique comma separated strings/chars.

It is highly recommended to load the CSV files into a pandas.DataFrame. For convenience, there is a package called cnspy_csv2dataframe that does the conversion using the CSVFormatPose definitions.

Note

The CSVFormatPose.TUM format, got it's name for file format used in the TUM RGB-D benchmark tool. Noticeable, is that the order of quaternion is non-alphabetically ([q_x,q_y,q_z, q_w] instead of [q_w, q_x, q_y, q_z]), meaning that first comes the imaginary part, then the real part, but this is just a matter of taste and definition! To be backward compatible with older/other tools (TUM RGB-D benchmark tool, rpg_trajectory_evaluation, etc.), we follow this non-alphabetically order!

Installation

Install the current code base from GitHub and pip install a link to that cloned copy

git clone https://github.com/aau-cns/spatial_csv_formats.git
cd spatial_csv_formats
pip install -e .

Dependencies

It is part of the cnspy eco-system of the cns-github group.

License

Software License Agreement (GNU GPLv3 License), refer to the LICENSE file.

Sharing is caring! - Roland Jung

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cnspy_spatial_csv_formats-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

cnspy_spatial_csv_formats-0.1.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file cnspy_spatial_csv_formats-0.1.1.tar.gz.

File metadata

  • Download URL: cnspy_spatial_csv_formats-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for cnspy_spatial_csv_formats-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4a547a64e71a938a8bd0cfd82f1296d91e3433f2033d9a367a6a9b0abb7ba944
MD5 e994fc2f8dfd20958dd0d1674fafe88b
BLAKE2b-256 3d3949b3ac79310ae51486ecf4d6002daacfc54dc51f9f22b3842776830a43e4

See more details on using hashes here.

File details

Details for the file cnspy_spatial_csv_formats-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cnspy_spatial_csv_formats-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for cnspy_spatial_csv_formats-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d17c3a634500bca0479cb2849a18a2fc455016d3ec0a1ad8cfb940e35e1cc63
MD5 898b4b4aad7e51c693a072e8bf58f292
BLAKE2b-256 972ea33f23daa543c60f7e464a7ef449e2abcc4eff0b06333000d7b137a69647

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page