2023-Robot
Robot code for 2023 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/Phoenix.h"
8
9namespace argos_lib {
10 namespace status_frame_config {
26
33 void SetMotorStatusFrameRates(BaseTalon& motor, MotorPresetMode motorMode);
34 } // namespace status_frame_config
35} // namespace argos_lib
void SetMotorStatusFrameRates(BaseTalon &motor, MotorPresetMode motorMode)
Set motor controller status frame update periods based on the motor preset.
Definition status_frame_config.cpp:7
MotorPresetMode
Motor mode used for setting status frame update periods.
Definition status_frame_config.h:14
@ 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