2025-Robot
Robot code for 2025 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/phoenix6/CANcoder.hpp>
7
8
namespace
encoder_conf
{
9
namespace
comp_bot {
10
namespace
drive {
11
struct
genericTurn
{
12
constexpr
static
auto
absoluteSensorDiscontinuityPoint
= 0.5_tr;
13
};
14
}
// namespace drive
15
namespace
elevator {
16
struct
wrist
{
17
constexpr
static
auto
direction
= ctre::phoenix6::signals::SensorDirectionValue::Clockwise_Positive;
18
};
19
}
// namespace elevator
20
}
// namespace comp_bot
21
22
namespace
practice_bot {
23
namespace
drive {
24
using
genericTurn
=
encoder_conf::comp_bot::drive::genericTurn
;
25
}
// namespace drive
26
namespace
elevator {
27
using
wrist
=
encoder_conf::comp_bot::elevator::wrist
;
28
}
// namespace elevator
29
}
// namespace practice_bot
30
}
// namespace encoder_conf
encoder_conf
Definition
encoders.h:8
encoder_conf::comp_bot::drive::genericTurn
Definition
encoders.h:11
encoder_conf::comp_bot::drive::genericTurn::absoluteSensorDiscontinuityPoint
static constexpr auto absoluteSensorDiscontinuityPoint
Definition
encoders.h:12
encoder_conf::comp_bot::elevator::wrist
Definition
encoders.h:16
encoder_conf::comp_bot::elevator::wrist::direction
static constexpr auto direction
Definition
encoders.h:17
src
main
include
constants
encoders.h
Generated by
1.12.0