LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
Coordinate Class Reference

One waypoint in the legacy injected-path representation. More...

#include <drive.hpp>

Public Attributes

double x = 0
 Field-frame X, inches.
 
double y = 0
 Field-frame Y, inches.
 
double t = 0
 Heading at the waypoint, degrees.
 
double right = 127
 Right wheel command at the waypoint.
 
double left = 0
 Left wheel command at the waypoint.
 
light::e_angle_behavior behavior = light::cw
 Turn behavior at the waypoint.
 

Detailed Description

One waypoint in the legacy injected-path representation.

Holds a target pose, optional left/right wheel velocities for forward simulation, and the angle-behavior used at the point.

Definition at line 47 of file drive.hpp.

Member Data Documentation

◆ behavior

light::e_angle_behavior Coordinate::behavior = light::cw

Turn behavior at the waypoint.

Definition at line 54 of file drive.hpp.

◆ left

double Coordinate::left = 0

Left wheel command at the waypoint.

Definition at line 53 of file drive.hpp.

◆ right

double Coordinate::right = 127

Right wheel command at the waypoint.

Definition at line 52 of file drive.hpp.

◆ t

double Coordinate::t = 0

Heading at the waypoint, degrees.

Definition at line 51 of file drive.hpp.

◆ x

double Coordinate::x = 0

Field-frame X, inches.

Definition at line 49 of file drive.hpp.

◆ y

double Coordinate::y = 0

Field-frame Y, inches.

Definition at line 50 of file drive.hpp.


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