2022-Robot
Robot code for 2022 FRC Season by Argos, FRC team #1756
Loading...
Searching...
No Matches
motorConfig::comp_bot::shooter::turretMotor Struct Reference

#include <motors.h>

Static Public Attributes

static constexpr auto inverted = ctre::phoenix::motorcontrol::InvertType::InvertMotorOutput
 
static constexpr bool sensorPhase = true
 
static constexpr auto neutralDeadband = motorConfig::common::neutralDeadband
 
static constexpr auto neutralMode = ctre::phoenix::motorcontrol::NeutralMode::Coast
 
static constexpr auto voltCompSat = motorConfig::common::voltCompSat
 
static constexpr auto statusFrameMotorMode = argos_lib::status_frame_config::MotorPresetMode::Basic
 
static constexpr auto peakCurrentLimit = 30_A
 
static constexpr auto peakCurrentDuration = 1_s
 
static constexpr auto continuousCurrentLimit = 20_A
 
static constexpr auto peakOutputForward = 0.7
 
static constexpr auto peakOutputReverse = -0.7
 
static constexpr auto pid0_selectedSensor
 
static constexpr auto pid0_kP = controlLoop::comp_bot::shooter::turret::kP
 
static constexpr auto pid0_kI = controlLoop::comp_bot::shooter::turret::kI
 
static constexpr auto pid0_kD = controlLoop::comp_bot::shooter::turret::kD
 
static constexpr auto pid0_kF = controlLoop::comp_bot::shooter::turret::kF
 
static constexpr auto pid0_iZone = controlLoop::comp_bot::shooter::turret::iZone
 
static constexpr auto pid0_allowableError = controlLoop::comp_bot::shooter::turret::allowableError
 

Member Data Documentation

◆ continuousCurrentLimit

constexpr auto motorConfig::comp_bot::shooter::turretMotor::continuousCurrentLimit = 20_A
staticconstexpr

◆ inverted

constexpr auto motorConfig::comp_bot::shooter::turretMotor::inverted = ctre::phoenix::motorcontrol::InvertType::InvertMotorOutput
staticconstexpr

◆ neutralDeadband

constexpr auto motorConfig::comp_bot::shooter::turretMotor::neutralDeadband = motorConfig::common::neutralDeadband
staticconstexpr

◆ neutralMode

constexpr auto motorConfig::comp_bot::shooter::turretMotor::neutralMode = ctre::phoenix::motorcontrol::NeutralMode::Coast
staticconstexpr

◆ peakCurrentDuration

constexpr auto motorConfig::comp_bot::shooter::turretMotor::peakCurrentDuration = 1_s
staticconstexpr

◆ peakCurrentLimit

constexpr auto motorConfig::comp_bot::shooter::turretMotor::peakCurrentLimit = 30_A
staticconstexpr

◆ peakOutputForward

constexpr auto motorConfig::comp_bot::shooter::turretMotor::peakOutputForward = 0.7
staticconstexpr

◆ peakOutputReverse

constexpr auto motorConfig::comp_bot::shooter::turretMotor::peakOutputReverse = -0.7
staticconstexpr

◆ pid0_allowableError

constexpr auto motorConfig::comp_bot::shooter::turretMotor::pid0_allowableError = controlLoop::comp_bot::shooter::turret::allowableError
staticconstexpr

◆ pid0_iZone

constexpr auto motorConfig::comp_bot::shooter::turretMotor::pid0_iZone = controlLoop::comp_bot::shooter::turret::iZone
staticconstexpr

◆ pid0_kD

constexpr auto motorConfig::comp_bot::shooter::turretMotor::pid0_kD = controlLoop::comp_bot::shooter::turret::kD
staticconstexpr

◆ pid0_kF

constexpr auto motorConfig::comp_bot::shooter::turretMotor::pid0_kF = controlLoop::comp_bot::shooter::turret::kF
staticconstexpr

◆ pid0_kI

constexpr auto motorConfig::comp_bot::shooter::turretMotor::pid0_kI = controlLoop::comp_bot::shooter::turret::kI
staticconstexpr

◆ pid0_kP

constexpr auto motorConfig::comp_bot::shooter::turretMotor::pid0_kP = controlLoop::comp_bot::shooter::turret::kP
staticconstexpr

◆ pid0_selectedSensor

constexpr auto motorConfig::comp_bot::shooter::turretMotor::pid0_selectedSensor
staticconstexpr
Initial value:
=
ctre::phoenix::motorcontrol::FeedbackDevice::CTRE_MagEncoder_Relative

◆ sensorPhase

constexpr bool motorConfig::comp_bot::shooter::turretMotor::sensorPhase = true
staticconstexpr

◆ statusFrameMotorMode

constexpr auto motorConfig::comp_bot::shooter::turretMotor::statusFrameMotorMode = argos_lib::status_frame_config::MotorPresetMode::Basic
staticconstexpr

◆ voltCompSat

constexpr auto motorConfig::comp_bot::shooter::turretMotor::voltCompSat = motorConfig::common::voltCompSat
staticconstexpr

The documentation for this struct was generated from the following file: