RobotCore
Robot Core Documentation
|
Public Member Functions | |
Segment (Segment seg) | |
Segment (double dt_in, double x_in, double y_in, double position_in, double acceleration_in, double jerk_in, double heading_in) | |
Public Attributes | |
double | dt |
Specifies the current time interval. | |
double | x |
Specifies the current absolute x position in feet. | |
double | y |
Specifies the current absolute y position in feet. | |
double | position |
Specifies the current linear distance in feet. | |
double | velocity |
specifies the current velocity in feet/second. | |
double | acceleration |
Specifies the current acceleration in feet/second*second. | |
double | jerk |
Specifies the current jerk int feet/second*second*second. | |
double | heading |
Specifies the current heading in radians. | |
The Segment class defines a segment of a path. Each segment represents a point along the generated path specifying the current position, velocity, acceleration and heading. An array of these segments is generated for the left wheel, center of the robot and the right wheel.