Twist3d

class wpimath.geometry.Twist3d(dx: meters = 0, dy: meters = 0, dz: meters = 0, rx: radians = 0, ry: radians = 0, rz: radians = 0)

Bases: pybind11_object

A change in distance along a 3D arc since the last pose update. We can use ideas from differential calculus to create new Pose3ds from a Twist3d and vice versa.

A Twist can be used to represent a difference between two poses.

property dx

Linear “dx” component

property dx_feet
property dy

Linear “dy” component

property dy_feet
property dz

Linear “dz” component

property dz_feet
static fromFeet(dx: feet = 0, dy: feet = 0, dz: feet = 0, rx: radians = 0, ry: radians = 0, rz: radians = 0) wpimath.geometry._geometry.Twist3d
property rx

Rotation vector x component.

property rx_degrees
property ry

Rotation vector y component.

property ry_degrees
property rz

Rotation vector z component.

property rz_degrees