API Reference¶
Top-level functions¶
Module: rigid_body_motion
Transformations¶
Transform an array of vectors between reference frames. |
|
Transform an array of points between reference frames. |
|
Transform an array of quaternions between reference frames. |
|
Transform motion between coordinate systems. |
|
Transform an array of angular velocities between frames. |
|
Transform an array of linear velocities between frames. |
Reference Frames¶
A three-dimensional reference frame. |
|
Register a new reference frame in the registry. |
|
Remove a reference frame from the registry. |
|
Clear the reference frame registry. |
|
Render a reference frame tree. |
Coordinate Systems¶
Transform cartesian to polar coordinates in two dimensions. |
|
Transform polar to cartesian coordinates in two dimensions. |
|
Transform cartesian to spherical coordinates in three dimensions. |
|
Transform spherical to cartesian coordinates in three dimensions. |
Lookups¶
Look up transformation from one frame to another. |
|
Look up pose of one frame wrt a reference. |
|
Estimate linear and angular velocity of a frame wrt a reference. |
|
Estimate linear velocity of a frame wrt a reference. |
|
Estimate angular velocity of a frame wrt a reference. |
Estimators¶
Estimate linear velocity from a time series of translation. |
|
Estimate angular velocity from a time series of rotations. |
|
Estimate the shortest-arc rotation between two arrays of vectors. |
|
Least-squares best-fit rotation between two arrays of vectors. |
|
Least-squares best-fit transform between two arrays of vectors. |
|
Iterative closest point algorithm matching two arrays of vectors. |
Utility functions¶
Construct quaternions from Euler angles. |
|
Quaternion inverse. |
|
Quaternion multiplication. |
|
Quaternion mean. |
|
Quaternion interpolation. |
|
Rotate an array of vectors by an array of quaternions. |
Plotting¶
Module: rigid_body_motion.plot
Plot a 3D coordinate system representing a static reference frame. |
|
Plot an array of 3D points. |
|
Plot an array of quaternions. |
|
Plot an array of 3D vectors. |
ROS interface¶
Module: rigid_body_motion.ros
Reader for motion topics from rosbag files. |
|
Writer for motion topics to rosbag files. |
|
TF broadcaster for the transform of a reference frame wrt another. |
|
Publisher for the translation of a reference frame wrt another. |
|
Wrapper class for tf2_ros.Buffer. |
Register a client node with the master. |
|
Interactive widget for playing back messages from a publisher. |
xarray Accessors¶
Quaternion interpolation. |
|
Quaternion inverse. |