2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
talonsrx_config.h File Reference
#include <units/current.h>
#include <units/time.h>
#include <units/voltage.h>
#include "argos_lib/config/config_types.h"
#include "compile_time_member_check.h"
#include "ctre/Phoenix.h"
#include "status_frame_config.h"

Go to the source code of this file.

Classes

struct  argos_lib::talonsrx_config::has_inverted< T, typename >
 
struct  argos_lib::talonsrx_config::has_inverted< T, decltype((void) T::inverted, void())>
 
struct  argos_lib::talonsrx_config::has_neutralMode< T, typename >
 
struct  argos_lib::talonsrx_config::has_neutralMode< T, decltype((void) T::neutralMode, void())>
 
struct  argos_lib::talonsrx_config::has_pid0_allowableError< T, typename >
 
struct  argos_lib::talonsrx_config::has_pid0_allowableError< T, decltype((void) T::pid0_allowableError, void())>
 
struct  argos_lib::talonsrx_config::has_pid0_iZone< T, typename >
 
struct  argos_lib::talonsrx_config::has_pid0_iZone< T, decltype((void) T::pid0_iZone, void())>
 
struct  argos_lib::talonsrx_config::has_pid0_kD< T, typename >
 
struct  argos_lib::talonsrx_config::has_pid0_kD< T, decltype((void) T::pid0_kD, void())>
 
struct  argos_lib::talonsrx_config::has_pid0_kF< T, typename >
 
struct  argos_lib::talonsrx_config::has_pid0_kF< T, decltype((void) T::pid0_kF, void())>
 
struct  argos_lib::talonsrx_config::has_pid0_kI< T, typename >
 
struct  argos_lib::talonsrx_config::has_pid0_kI< T, decltype((void) T::pid0_kI, void())>
 
struct  argos_lib::talonsrx_config::has_pid0_kP< T, typename >
 
struct  argos_lib::talonsrx_config::has_pid0_kP< T, decltype((void) T::pid0_kP, void())>
 
struct  argos_lib::talonsrx_config::has_pid0_selectedSensor< T, typename >
 
struct  argos_lib::talonsrx_config::has_pid0_selectedSensor< T, decltype((void) T::pid0_selectedSensor, void())>
 
struct  argos_lib::talonsrx_config::has_remoteFilter0_addr< T, typename >
 
struct  argos_lib::talonsrx_config::has_remoteFilter0_addr< T, decltype((void) T::remoteFilter0_addr, void())>
 
struct  argos_lib::talonsrx_config::has_remoteFilter0_type< T, typename >
 
struct  argos_lib::talonsrx_config::has_remoteFilter0_type< T, decltype((void) T::remoteFilter0_type, void())>
 
struct  argos_lib::talonsrx_config::has_sensorPhase< T, typename >
 
struct  argos_lib::talonsrx_config::has_sensorPhase< T, decltype((void) T::sensorPhase, void())>
 
struct  argos_lib::talonsrx_config::has_voltCompSat< T, typename >
 
struct  argos_lib::talonsrx_config::has_voltCompSat< T, decltype((void) T::voltCompSat, void())>
 
struct  argos_lib::talonsrx_config::has_statusFrameMotorMode< T, typename >
 
struct  argos_lib::talonsrx_config::has_statusFrameMotorMode< T, decltype((void) T::statusFrameMotorMode, void())>
 
struct  argos_lib::talonsrx_config::has_peakCurrentLimit< T, typename >
 
struct  argos_lib::talonsrx_config::has_peakCurrentLimit< T, decltype((void) T::peakCurrentLimit, void())>
 
struct  argos_lib::talonsrx_config::has_peakCurrentDuration< T, typename >
 
struct  argos_lib::talonsrx_config::has_peakCurrentDuration< T, decltype((void) T::peakCurrentDuration, void())>
 
struct  argos_lib::talonsrx_config::has_continuousCurrentLimit< T, typename >
 
struct  argos_lib::talonsrx_config::has_continuousCurrentLimit< T, decltype((void) T::continuousCurrentLimit, void())>
 
struct  argos_lib::talonsrx_config::has_peakOutputForward< T, typename >
 
struct  argos_lib::talonsrx_config::has_peakOutputForward< T, decltype((void) T::peakOutputForward, void())>
 
struct  argos_lib::talonsrx_config::has_peakOutputReverse< T, typename >
 
struct  argos_lib::talonsrx_config::has_peakOutputReverse< T, decltype((void) T::peakOutputReverse, void())>
 

Namespaces

namespace  argos_lib
 
namespace  argos_lib::talonsrx_config
 

Functions

template<typename T >
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.
 
template<typename CompetitionConfig , typename PracticeConfig >
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.