2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
falcon_config.h File Reference
#include <units/current.h>
#include <units/time.h>
#include <iostream>
#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::falcon_config::has_forwardLimit_deviceID< T, typename >
 
struct  argos_lib::falcon_config::has_forwardLimit_deviceID< T, decltype((void) T::forwardLimit_deviceID, void())>
 
struct  argos_lib::falcon_config::has_forwardLimit_normalState< T, typename >
 
struct  argos_lib::falcon_config::has_forwardLimit_normalState< T, decltype((void) T::forwardLimit_normalState, void())>
 
struct  argos_lib::falcon_config::has_forwardLimit_source< T, typename >
 
struct  argos_lib::falcon_config::has_forwardLimit_source< T, decltype((void) T::forwardLimit_source, void())>
 
struct  argos_lib::falcon_config::has_inverted< T, typename >
 
struct  argos_lib::falcon_config::has_inverted< T, decltype((void) T::inverted, void())>
 
struct  argos_lib::falcon_config::has_neutralDeadband< T, typename >
 
struct  argos_lib::falcon_config::has_neutralDeadband< T, decltype((void) T::neutralDeadband, void())>
 
struct  argos_lib::falcon_config::has_neutralMode< T, typename >
 
struct  argos_lib::falcon_config::has_neutralMode< T, decltype((void) T::neutralMode, void())>
 
struct  argos_lib::falcon_config::has_nominalOutputForward< T, typename >
 
struct  argos_lib::falcon_config::has_nominalOutputForward< T, decltype((void) T::nominalOutputForward, void())>
 
struct  argos_lib::falcon_config::has_nominalOutputReverse< T, typename >
 
struct  argos_lib::falcon_config::has_nominalOutputReverse< T, decltype((void) T::nominalOutputReverse, void())>
 
struct  argos_lib::falcon_config::has_peakOutputForward< T, typename >
 
struct  argos_lib::falcon_config::has_peakOutputForward< T, decltype((void) T::peakOutputForward, void())>
 
struct  argos_lib::falcon_config::has_peakOutputReverse< T, typename >
 
struct  argos_lib::falcon_config::has_peakOutputReverse< T, decltype((void) T::peakOutputReverse, void())>
 
struct  argos_lib::falcon_config::has_pid0_allowableError< T, typename >
 
struct  argos_lib::falcon_config::has_pid0_allowableError< T, decltype((void) T::pid0_allowableError, void())>
 
struct  argos_lib::falcon_config::has_pid0_iZone< T, typename >
 
struct  argos_lib::falcon_config::has_pid0_iZone< T, decltype((void) T::pid0_iZone, void())>
 
struct  argos_lib::falcon_config::has_pid0_kD< T, typename >
 
struct  argos_lib::falcon_config::has_pid0_kD< T, decltype((void) T::pid0_kD, void())>
 
struct  argos_lib::falcon_config::has_pid0_kF< T, typename >
 
struct  argos_lib::falcon_config::has_pid0_kF< T, decltype((void) T::pid0_kF, void())>
 
struct  argos_lib::falcon_config::has_pid0_kI< T, typename >
 
struct  argos_lib::falcon_config::has_pid0_kI< T, decltype((void) T::pid0_kI, void())>
 
struct  argos_lib::falcon_config::has_pid0_kP< T, typename >
 
struct  argos_lib::falcon_config::has_pid0_kP< T, decltype((void) T::pid0_kP, void())>
 
struct  argos_lib::falcon_config::has_pid0_selectedSensor< T, typename >
 
struct  argos_lib::falcon_config::has_pid0_selectedSensor< T, decltype((void) T::pid0_selectedSensor, void())>
 
struct  argos_lib::falcon_config::has_pid1_allowableError< T, typename >
 
struct  argos_lib::falcon_config::has_pid1_allowableError< T, decltype((void) T::pid1_allowableError, void())>
 
struct  argos_lib::falcon_config::has_pid1_iZone< T, typename >
 
struct  argos_lib::falcon_config::has_pid1_iZone< T, decltype((void) T::pid1_iZone, void())>
 
struct  argos_lib::falcon_config::has_pid1_kD< T, typename >
 
struct  argos_lib::falcon_config::has_pid1_kD< T, decltype((void) T::pid1_kD, void())>
 
struct  argos_lib::falcon_config::has_pid1_kF< T, typename >
 
struct  argos_lib::falcon_config::has_pid1_kF< T, decltype((void) T::pid1_kF, void())>
 
struct  argos_lib::falcon_config::has_pid1_kI< T, typename >
 
struct  argos_lib::falcon_config::has_pid1_kI< T, decltype((void) T::pid1_kI, void())>
 
struct  argos_lib::falcon_config::has_pid1_kP< T, typename >
 
struct  argos_lib::falcon_config::has_pid1_kP< T, decltype((void) T::pid1_kP, void())>
 
struct  argos_lib::falcon_config::has_remoteFilter0_addr< T, typename >
 
struct  argos_lib::falcon_config::has_remoteFilter0_addr< T, decltype((void) T::remoteFilter0_addr, void())>
 
struct  argos_lib::falcon_config::has_remoteFilter0_type< T, typename >
 
struct  argos_lib::falcon_config::has_remoteFilter0_type< T, decltype((void) T::remoteFilter0_type, void())>
 
struct  argos_lib::falcon_config::has_reverseLimit_deviceID< T, typename >
 
struct  argos_lib::falcon_config::has_reverseLimit_deviceID< T, decltype((void) T::reverseLimit_deviceID, void())>
 
struct  argos_lib::falcon_config::has_reverseLimit_normalState< T, typename >
 
struct  argos_lib::falcon_config::has_reverseLimit_normalState< T, decltype((void) T::reverseLimit_normalState, void())>
 
struct  argos_lib::falcon_config::has_reverseLimit_source< T, typename >
 
struct  argos_lib::falcon_config::has_reverseLimit_source< T, decltype((void) T::reverseLimit_source, void())>
 
struct  argos_lib::falcon_config::has_sensorPhase< T, typename >
 
struct  argos_lib::falcon_config::has_sensorPhase< T, decltype((void) T::sensorPhase, void())>
 
struct  argos_lib::falcon_config::has_supplyCurrentLimit< T, typename >
 
struct  argos_lib::falcon_config::has_supplyCurrentLimit< T, decltype((void) T::supplyCurrentLimit, void())>
 
struct  argos_lib::falcon_config::has_supplyCurrentThreshold< T, typename >
 
struct  argos_lib::falcon_config::has_supplyCurrentThreshold< T, decltype((void) T::supplyCurrentThreshold, void())>
 
struct  argos_lib::falcon_config::has_supplyCurrentThresholdTime< T, typename >
 
struct  argos_lib::falcon_config::has_supplyCurrentThresholdTime< T, decltype((void) T::supplyCurrentThresholdTime, void())>
 
struct  argos_lib::falcon_config::has_statorCurrentLimit< T, typename >
 
struct  argos_lib::falcon_config::has_statorCurrentLimit< T, decltype((void) T::statorCurrentLimit, void())>
 
struct  argos_lib::falcon_config::has_statorCurrentThreshold< T, typename >
 
struct  argos_lib::falcon_config::has_statorCurrentThreshold< T, decltype((void) T::statorCurrentThreshold, void())>
 
struct  argos_lib::falcon_config::has_statorCurrentThresholdTime< T, typename >
 
struct  argos_lib::falcon_config::has_statorCurrentThresholdTime< T, decltype((void) T::statorCurrentThresholdTime, void())>
 
struct  argos_lib::falcon_config::has_voltCompSat< T, typename >
 
struct  argos_lib::falcon_config::has_voltCompSat< T, decltype((void) T::voltCompSat, void())>
 
struct  argos_lib::falcon_config::has_statusFrameMotorMode< T, typename >
 
struct  argos_lib::falcon_config::has_statusFrameMotorMode< T, decltype((void) T::statusFrameMotorMode, void())>
 

Namespaces

namespace  argos_lib
 
namespace  argos_lib::falcon_config
 

Functions

template<typename T >
bool argos_lib::falcon_config::FalconConfig (TalonFX &motorController, units::millisecond_t configTimeout)
 Configures a CTRE Falcon with only the fields provided. All other fields are given the factory default values.
 
template<typename CompetitionConfig , typename PracticeConfig >
bool argos_lib::falcon_config::FalconConfig (WPI_TalonFX &motorController, units::millisecond_t configTimeout, argos_lib::RobotInstance instance)
 Configures a CTRE Falcon with configuration values according to specified robot instance.