2024-Robot
Robot code for 2024 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
status_frame_config.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <ctre/phoenix6/core/CoreTalonFX.hpp>
8
9namespace argos_lib {
10 namespace status_frame_config {
11 using BaseTalon = ctre::phoenix6::hardware::core::CoreTalonFX;
27
35 } // namespace status_frame_config
36} // namespace argos_lib
ctre::phoenix6::hardware::core::CoreTalonFX BaseTalon
Definition status_frame_config.h:11
void SetMotorStatusFrameRates(BaseTalon &motor, MotorPresetMode motorMode)
Set motor controller status frame update periods based on the motor preset.
Definition status_frame_config.cpp:9
MotorPresetMode
Motor mode used for setting status frame update periods.
Definition status_frame_config.h:15
@ MotionProfilingFX
FX with motion profiling enabled.
@ MotionProfiling
SRX with motion profiling enabled.
@ Leader
SRX leader, fast reporting rate.
@ LeaderFX
FX leader, fast reporting rate.
@ Follower
SRX follower, near zero reporting rates.
@ Tuning
SRX with increased reporting frequency to aid PID tuning.
@ Basic
Baseline SRX, slow sensor reporting rate.
@ BasicFX
Baseline FX, slow sensor reporting rate.
@ TuningFX
FX with increased reporting frequency to aid PID tuning.
@ FollowerFX
FX follower, near zero reporting rates.
Definition swap_controllers_command.h:12
ctre::phoenix6::hardware::core::CoreTalonFX BaseTalon
Definition status_frame_config.cpp:7