TR-mbed 1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ChassisSpeeds Class Reference

#include <ChassisSubsystem.h>

Public Member Functions

 ChassisSpeeds (double x, double y, double rotation)
 

Public Attributes

double vX
 
double vY
 
double vOmega
 
double x
 
double y
 
double rotation
 

Detailed Description

The ChassisSpeeds class represents the x, y, and rotational speeds of the Chassis, in RPM. ChassisSpeeds objects are used by the Chassis's drive methods.

Constructor & Destructor Documentation

◆ ChassisSpeeds()

ChassisSpeeds::ChassisSpeeds ( double  x,
double  y,
double  rotation 
)

Creates a new ChassisSpeeds object from the specified speeds.

Parameters
xThe velocity in the x direction in RPM
yThe velocity in the y direction in RPM
rotationThe rotational velocity in RPM

Member Data Documentation

◆ rotation

double ChassisSpeeds::rotation

◆ vOmega

double ChassisSpeeds::vOmega

◆ vX

double ChassisSpeeds::vX

◆ vY

double ChassisSpeeds::vY

◆ x

double ChassisSpeeds::x

◆ y

double ChassisSpeeds::y

The documentation for this class was generated from the following files: