Class ChassisInputHandler¶
Defined in File chassis_input_handler.hpp
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
class ChassisInputHandler¶
Public Functions
-
math::AbstractVector2D getTranslation() const¶
Returns a clamped sum of the keyboard and mouse inputs
-
double getRotation() const¶
Returns a clamped sum of the keyboard and mouse inputs
-
math::AbstractVector2D getRemoteTranslation() const¶
Returns the desired translation motion Depending on which mode is used, this could be relative to the robot chassis, the field, or fang-mcb-project/src/wrap/rail/chassis/iholonomic_control.hpp
-
math::AbstractVector2D getKeyboardTranslation() const¶
Returns the key pressed. if multiple are pressed, the priority is forward, backward, left right.
-
double getRemoteAngularDisplacement() const¶
Returns the amount that the turret should rotate
-
double getRemoteRotation() const¶
How fast either the chassis or the turret should be rotated
-
struct Config¶
-
struct KeyboardConfig¶
-
struct RemoteConfig¶
-
math::AbstractVector2D getTranslation() const¶