|
TrajoptLib
Library for generating time-optimal trajectories for FRC robots.
|
Swerve trajectory sample. More...
#include <trajopt/swerve_trajectory_generator.hpp>
Public Member Functions | |
| SwerveTrajectorySample (double timestamp, double x, double y, double heading, double velocity_x, double velocity_y, double angular_velocity, double acceleration_x, double acceleration_y, double angular_acceleration, std::vector< double > module_forces_x, std::vector< double > module_forces_y) | |
Swerve trajectory sample.
|
inline |
Construct a SwerveTrajectorySample.
| timestamp | The timestamp. |
| x | The x coordinate. |
| y | The y coordinate. |
| heading | The heading. |
| velocity_x | The velocity's x component. |
| velocity_y | The velocity's y component. |
| angular_velocity | The angular velocity. |
| acceleration_x | The acceleration's x component. |
| acceleration_y | The acceleration's y component. |
| angular_acceleration | The angular acceleration. |
| module_forces_x | Forces acting on the modules in the X direction. |
| module_forces_y | Forces acting on the modules in the Y direction. |