PathPlannerLib
Loading...
Searching...
No Matches
pathplanner::SwerveSetpoint Struct Reference

#include <SwerveSetpoint.h>

Public Attributes

frc::ChassisSpeeds robotRelativeSpeeds
 
std::vector< frc::SwerveModuleState > moduleStates
 
pathplanner::DriveFeedforwards feedforwards
 

Detailed Description

A setpoint for a swerve drivetrain, containing robot-relative chassis speeds and individual module states

Parameters
robotRelativeSpeedsRobot-relative chassis speeds
moduleStatesArray of individual swerve module states. These will be in FL, FR, BL, BR order.
feedforwardsFeedforwards for each module's drive motor. The arrays in this record will be in FL, FR, BL, BR order.

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