Trajectory in SE(3) space with utilities.
Project description
The cnspy_trajectory Package
A Trajectory object consists of a matrix of positions, orientations (Quaternions) and associated timestamps.
The object can be created by passing the these three matrices or by passing a Pandas
DataFrame
object containing them.
The DataFrame
will be converted using the class TUMCSV2DataFrame
.
A trajectory object offers some conversions, load/store methods, plot, spatial transformations, etc.
A TrajectoryEstimated
is a specialization of a Trajectory
, holding a covariances of the position and orientation to the timestamps, which can be loaded form a DataFrame
too.
The TrajectoryPlotter
offers methods to visualize a (or multiple) Trajectory
objects.
Installation
Install the current code base from GitHub and pip install a link to that cloned copy
git clone https://github.com/aau-cns/cnspy_trajectory.git
cd cnspy_trajectory
pip install -e .
Dependencies
It is part of the cnspy eco-system of the cns-github group.
- numpy
- matplotlib
- pandas
- scipy
- cnspy_numpy_utils
- cnspy_csv2dataframe
- cnspy_spatial_csv_formats
- cnspy_trajectory
- matplotlib.pyplot
Examples
Please refer to the unit-tests Trajectory_Test
and TrajectoryEstimated_Test
in Trajectory/TrajectoryEstimated.py
.
For plotting options to the unit-test TrajectoryPlotter_Test
.
Pose plot
Pose plot 3D
Mutli pose plot 3D
License
Software License Agreement (GNU GPLv3 License), refer to the LICENSE file.
Sharing is caring! - Roland Jung
Project details
Release history Release notifications | RSS feed
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_trajectory-0.1.1.tar.gz
.
File metadata
- Download URL: cnspy_trajectory-0.1.1.tar.gz
- Upload date:
- Size: 12.6 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 | 0484c2c78502048315eb443e0a9e76a0369c698b1a07732ed447a4364498802c |
|
MD5 | 4855d691e0fcc8bb6e22cddc4d5247b2 |
|
BLAKE2b-256 | 5148f4db44830bf9d97885d18f3e12b63b94167518e3b559daa3cf198198cfe5 |
File details
Details for the file cnspy_trajectory-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: cnspy_trajectory-0.1.1-py3-none-any.whl
- Upload date:
- Size: 32.4 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 | 9489408e4cd017057b65d85d00d301949049cdf5ffa9688b9b8a83c3b65fb0be |
|
MD5 | 49401eba8bd77b40cdef3bd42d5604dd |
|
BLAKE2b-256 | fda98bb05f18d16756395d0560ddbaa0a0d73aaace02d7da436def8412973dc7 |