Resurgence (PY2022)
Codebase for the Husky Robotics 2021-2022 rover Resurgence
|
Represents the positions (or power) of the two motor-driven gears in the differential wrist. More...
#include <DiffWristKinematics.h>
Public Member Functions | |
gearpos_t (float left, float right) | |
gearpos_t (const Eigen::Vector2f &vec) | |
Constructs a set of gear positions from a 2-component vector as \(\langle left,
right\rangle \). | |
Eigen::Vector2f | vec () const |
Converts a set of gear positions to a 2-component vector as \(\langle left,
right\rangle \). | |
Public Attributes | |
float | left |
The position (or power) of the left gear. | |
float | right |
The position (or power) of the right gear. | |
Represents the positions (or power) of the two motor-driven gears in the differential wrist.
Contains position/power values for the left and right gears; when looking at the differential down the pitch axis, with the end effector to the right, the positive direction (for both gears) is counter-clockwise.
float kinematics::gearpos_t::left |
The position (or power) of the left gear.
When looking at the differential down the pitch axis, with the end effector to the right, the positive direction is counter-clockwise, and the negative direction is clockwise.
float kinematics::gearpos_t::right |
The position (or power) of the right gear.
When looking at the differential down the pitch axis, with the end effector to the right, the positive direction is counter-clockwise, and the negative direction is clockwise.