Represents one point on the trajectory.
More...
#include <frc/trajectory/Trajectory.h>
Represents one point on the trajectory.
◆ Interpolate()
State frc::Trajectory::State::Interpolate |
( |
State |
endValue, |
|
|
double |
i |
|
) |
| const |
Interpolates between two States.
- Parameters
-
endValue | The end value for the interpolation. |
i | The interpolant (fraction). |
- Returns
- The interpolated state.
◆ operator==()
bool frc::Trajectory::State::operator== |
( |
const State & |
| ) |
const |
|
default |
Checks equality between this State and another object.
◆ acceleration
units::meters_per_second_squared_t frc::Trajectory::State::acceleration = 0_mps_sq |
◆ curvature
◆ pose
Pose2d frc::Trajectory::State::pose |
units::second_t frc::Trajectory::State::t = 0_s |
◆ velocity
units::meters_per_second_t frc::Trajectory::State::velocity = 0_mps |
The documentation for this struct was generated from the following file: