2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
InitializeOdometryCommand Class Reference

#include <initialize_odometry_command.h>

Inheritance diagram for InitializeOdometryCommand:

Public Member Functions

 InitializeOdometryCommand (SwerveDriveSubsystem *pDrive, frc::Pose2d initialPose)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Attributes

SwerveDriveSubsystemm_pDrive
 
frc::Pose2d m_initialPose
 

Detailed Description

Constructor & Destructor Documentation

◆ InitializeOdometryCommand()

InitializeOdometryCommand::InitializeOdometryCommand ( SwerveDriveSubsystem pDrive,
frc::Pose2d  initialPose 
)

Member Function Documentation

◆ End()

void InitializeOdometryCommand::End ( bool  interrupted)
override

◆ Execute()

void InitializeOdometryCommand::Execute ( )
override

◆ Initialize()

void InitializeOdometryCommand::Initialize ( )
override

◆ IsFinished()

bool InitializeOdometryCommand::IsFinished ( )
override

Member Data Documentation

◆ m_initialPose

frc::Pose2d InitializeOdometryCommand::m_initialPose
private

◆ m_pDrive

SwerveDriveSubsystem* InitializeOdometryCommand::m_pDrive
private

The documentation for this class was generated from the following files: