|
Brick
|
#include <chassis_accelerations.h>
Represents robot chassis accelerations.
Public Member Functions | |
| ChassisAccelerations (units::Acceleration ax, units::Acceleration ay, units::AngularAcceleration alpha) | |
| ChassisAccelerations | to_robot_relative (const Rotation2d &robotAngle) const |
| Converts this field-relative set of accelerations into a robot-relative ChassisAccelerations object. | |
| ChassisAccelerations | to_field_relative (const Rotation2d &robotAngle) const |
| Converts this robot-relative set of accelerations into a field-relative ChassisAccelerations object. | |
| ChassisAccelerations | operator+ (const ChassisAccelerations &other) const |
| ChassisAccelerations | operator- (const ChassisAccelerations &other) const |
| ChassisAccelerations | operator- () const |
| ChassisAccelerations | operator* (double scalar) const |
| ChassisAccelerations | operator/ (double scalar) const |
| bool | operator== (const ChassisAccelerations &other) const |
| bool | operator!= (const ChassisAccelerations &other) const |
|
inline |
Converts this robot-relative set of accelerations into a field-relative ChassisAccelerations object.
| robotAngle | The CCW-positive angle of the robot relative to the field. |
|
inline |
Converts this field-relative set of accelerations into a robot-relative ChassisAccelerations object.
| robotAngle | The CCW-positive angle of the robot relative to the field. |