Expand description
A library for transforming between 3D coordinate frames.
The position of an object in 3D space can be described geometrically using an inertial frame of reference. If the transform (translation and rotation) between two reference frames is known, the object’s position can be determined for each frame.
As some objects, like pedestrians or UAVs, move in space, a reference frame can be time-dependent. Each transform object has a timestamp defined in seconds and nanoseconds, whereby different interpolation strategies, such as step-wise or linear, can be applied.
§Overview
§Data Structure
For de/serializing JSON is used in three forms:
ecoord.json: readable JSONfile_name.ecoord.jsonprefixing with a file namefile_name.ecoord.json.zst: compressed JSON using the ZStandard compression algorithm
Document Structure:
- document
edgesframe_info: additional information on frames
Re-exports§
pub use ecoord_io as io;pub use ecoord_transform as transform;
Modules§
Structs§
- Axis
Aligned Bounding Box - Axis
Aligned Bounding Cube - Dynamic
Transform - FrameId
- Dedicated type for an identifier of a frame.
- Frame
Info - Additional information for a frame.
- Spherical
Point3 - Represents a point in three-dimensional spherical coordinates.
- Static
Transform - Timed
Transform - A time-dependent rigid transformation in 3D.
- Transform
- A time-dependent rigid transformation in 3D.
- Transform
Id - Dedicated type for an identifier of a transform.
- Transform
Tree - Unit
Spherical Point3
Enums§
- Error
- Extrapolation
Method - Methods for extrapolating a list of
Transform. - Interpolation
Method - Methods for interpolating a list of
Transform. - Transform
Edge
Traits§
Functions§
- merge
- Merges a list of transform trees to a single transform tree. Requires unique TransformId combinations across the input TransformTree.