2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
Functions | |
template<typename T > | |
bool | TalonSRXConfig (WPI_TalonSRX &motorController, units::millisecond_t configTimeout) |
Configures a CTRE TalonSRX with only the fields provided. All other fields are given the factory default values. | |
template<typename CompetitionConfig , typename PracticeConfig > | |
bool | TalonSRXConfig (WPI_TalonSRX &motorController, units::millisecond_t configTimeout, argos_lib::RobotInstance instance) |
Configures a CTRE TalonSRX with configuration values according to specified robot instance. | |
bool argos_lib::talonsrx_config::TalonSRXConfig | ( | WPI_TalonSRX & | motorController, |
units::millisecond_t | configTimeout | ||
) |
Configures a CTRE TalonSRX with only the fields provided. All other fields are given the factory default values.
T | Structure containing any combination of the following members:
|
motorController | TalonSRX object to configure |
configTimeout | Time to wait for response from TalonSRX |
bool argos_lib::talonsrx_config::TalonSRXConfig | ( | WPI_TalonSRX & | motorController, |
units::millisecond_t | configTimeout, | ||
argos_lib::RobotInstance | instance | ||
) |
Configures a CTRE TalonSRX with configuration values according to specified robot instance.
CompetitionConfig | Configurations to use in competition robot instance |
PracticeConfig | Configurations to use in practice robot instance |
motorController | TalonSRX object to configure |
configTimeout | Time to wait for response from TalonSRX |
instance | Robot instance to use |