26 units::meter_t dx = 0_m;
31 units::meter_t dy = 0_m;
36 units::meter_t dz = 0_m;
41 units::radian_t rx = 0_rad;
46 units::radian_t ry = 0_rad;
51 units::radian_t rz = 0_rad;
75 return Twist3d{dx * factor, dy * factor, dz * factor,
76 rx * factor, ry * factor, rz * factor};
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
UnitType abs(const UnitType x) noexcept
Compute absolute value.
Definition: math.h:721
Definition: AprilTagPoseEstimator.h:15
A change in distance along a 3D arc since the last pose update.
Definition: Twist3d.h:22
constexpr Twist3d operator*(double factor) const
Scale this by a given factor.
Definition: Twist3d.h:74
units::meter_t dx
Linear "dx" component.
Definition: Twist3d.h:26
units::radian_t ry
Rotation vector y component.
Definition: Twist3d.h:46
bool operator==(const Twist3d &other) const
Checks equality between this Twist3d and another object.
Definition: Twist3d.h:59
units::meter_t dy
Linear "dy" component.
Definition: Twist3d.h:31
units::radian_t rz
Rotation vector z component.
Definition: Twist3d.h:51
units::meter_t dz
Linear "dz" component.
Definition: Twist3d.h:36
units::radian_t rx
Rotation vector x component.
Definition: Twist3d.h:41