CTRE Phoenix 6 C++ 24.50.0-alpha-2
ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters Struct Reference

Contains everything the control requests need to calculate the module state. More...

#include <ctre/phoenix6/swerve/impl/SwerveDrivetrainImpl.hpp>

Public Attributes

impl::SwerveDriveKinematicskinematics
 
Translation2d const * swervePositions
 
units::meters_per_second_t kMaxSpeed
 
Rotation2d operatorForwardDirection
 
impl::ChassisSpeeds currentChassisSpeed
 
Pose2d currentPose
 
units::second_t timestamp
 
units::second_t updatePeriod
 

Detailed Description

Contains everything the control requests need to calculate the module state.

Member Data Documentation

◆ currentChassisSpeed

impl::ChassisSpeeds ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::currentChassisSpeed

◆ currentPose

Pose2d ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::currentPose

◆ kinematics

impl::SwerveDriveKinematics* ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::kinematics

◆ kMaxSpeed

units::meters_per_second_t ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::kMaxSpeed

◆ operatorForwardDirection

Rotation2d ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::operatorForwardDirection

◆ swervePositions

Translation2d const* ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::swervePositions

◆ timestamp

units::second_t ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::timestamp

◆ updatePeriod

units::second_t ctre::phoenix6::swerve::impl::SwerveDrivetrainImpl::ControlParameters::updatePeriod

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