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://gitlab.aau.at/aau-cns/py3_pkgs/spatial_csv_formats.git
cd spatial_csv_formats
pip install -e .
Dependencies
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
Built Distribution
File details
Details for the file cnspy_spatial_csv_formats-0.1.0.tar.gz
.
File metadata
- Download URL: cnspy_spatial_csv_formats-0.1.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6318ac44875ef3c8ec3cfd6f4da75b9309d3ae451e0be6ecb9d6b70607f8d75 |
|
MD5 | 836cb9debcd005ea9e25aa943faf93ed |
|
BLAKE2b-256 | be8d973dd6926a2a6659bfa15f9a2b8dc77bdde5f937e9f049c6fe9f15d3ee4e |
File details
Details for the file cnspy_spatial_csv_formats-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: cnspy_spatial_csv_formats-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5cf3ffc1099a020a8e13760d4edd2129a9cd3533b20fc66910d344e2a9f1096 |
|
MD5 | d373c2117006704c5cff35788f4a02cc |
|
BLAKE2b-256 | f1cc9140a8fce82efdb746c89d01b51d51a5e51e33f10c6a7f304da69a3eca19 |