CTRE Phoenix 6 C++ 25.0.0-beta-4
|
Does nothing to the swerve module state. More...
#include <ctre/phoenix6/swerve/SwerveRequest.hpp>
Public Member Functions | |
ctre::phoenix::StatusCode | Apply (SwerveRequest::ControlParameters const &, std::vector< std::unique_ptr< impl::SwerveModuleImpl > > const &) override |
Applies this swerve request to the given modules. | |
Public Member Functions inherited from ctre::phoenix6::swerve::requests::SwerveRequest | |
virtual | ~SwerveRequest ()=default |
Additional Inherited Members | |
Public Types inherited from ctre::phoenix6::swerve::requests::SwerveRequest | |
using | ControlParameters = impl::SwerveDrivetrainImpl::ControlParameters |
Does nothing to the swerve module state.
This is the default state of a newly created swerve drive mechanism.
|
inlineoverridevirtual |
Applies this swerve request to the given modules.
This is typically called by the SwerveDrivetrain.
parameters | Parameters the control request needs to calculate the module state |
modulesToApply | Modules to which the control request is applied |
Implements ctre::phoenix6::swerve::requests::SwerveRequest.