#include <swerve_drive_subsystem.h>
|
| ctre::phoenix6::hardware::TalonFX | m_drive |
| |
| ctre::phoenix6::hardware::TalonFX | m_turn |
| |
| ctre::phoenix6::hardware::CANcoder | m_encoder |
| |
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ SwerveModule()
Construct a new Swerve Module object.
- Parameters
-
| driveAddr | address of the drive motor on the module |
| turnAddr | address of the turn motor on the module |
| encoderAddr | address of the encoder on this module |
◆ GetPosition()
| frc::SwerveModulePosition SwerveModule::GetPosition |
( |
| ) |
|
◆ GetState()
| frc::SwerveModuleState SwerveModule::GetState |
( |
| ) |
|
◆ m_drive
| ctre::phoenix6::hardware::TalonFX SwerveModule::m_drive |
◆ m_encoder
| ctre::phoenix6::hardware::CANcoder SwerveModule::m_encoder |
◆ m_turn
| ctre::phoenix6::hardware::TalonFX SwerveModule::m_turn |
The documentation for this class was generated from the following files: