2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
encoders.h
Go to the documentation of this file.
1
4
5#pragma once
6#include <ctre/phoenix/sensors/CANCoder.h>
7
8namespace encoder_conf {
9 namespace comp_bot {
10 struct wristEncoder {
11 constexpr static auto direction = true;
12 constexpr static auto range = ctre::phoenix::sensors::AbsoluteSensorRange::Unsigned_0_to_360;
13 };
15 constexpr static auto direction = false;
16 constexpr static auto range = ctre::phoenix::sensors::AbsoluteSensorRange::Signed_PlusMinus180;
17 };
19 constexpr static auto direction = true;
20 constexpr static auto range = ctre::phoenix::sensors::AbsoluteSensorRange::Unsigned_0_to_360;
21 };
22 } // namespace comp_bot
23
29
30} // namespace encoder_conf
Definition encoders.h:8
static constexpr auto range
Definition encoders.h:20
static constexpr auto direction
Definition encoders.h:19
static constexpr auto range
Definition encoders.h:16
static constexpr auto direction
Definition encoders.h:15
Definition encoders.h:10
static constexpr auto range
Definition encoders.h:12
static constexpr auto direction
Definition encoders.h:11