#include <ChassisSubsystem.h>
The WheelSpeeds class represents the speeds of the 4 chassis motors. It is used by the Chassis to drive the 4 motors at certain speeds.
◆ WheelSpeeds()
| WheelSpeeds::WheelSpeeds |
( |
double |
LF, |
|
|
double |
RF, |
|
|
double |
LB, |
|
|
double |
RB |
|
) |
| |
Creates a new WheelSpeeds object with the given speeds of each motor
- Parameters
-
| LF | The speed of the left front motor in RPM |
| RF | The speed of the right front motor in RPM |
| LB | The speed of the left back motor in RPM |
| RB | The speed of the right back motor in RPM |
◆ operator*=()
| void WheelSpeeds::operator*= |
( |
double |
scalar | ) |
|
|
inline |
◆ to_string()
| char * WheelSpeeds::to_string |
( |
| ) |
|
|
inline |
◆ LB
◆ LF
◆ RB
◆ RF
The documentation for this class was generated from the following files: