CTRE Phoenix C++ 5.36.0-beta-1
Loading...
Searching...
No Matches
CANdleConfigUtil.h
Go to the documentation of this file.
1/* Copyright (C) Cross The Road Electronics 2024 */
2#pragma once
3
7
8namespace ctre{ namespace phoenix{ namespace led{
9
10/**
11 * Util class to help with configuring CANdle
12 *
13 * @deprecated This device's Phoenix 5 API is deprecated for removal in the
14 * 2027 season. Users should update to Phoenix 6 firmware and migrate to the
15 * Phoenix 6 API. A migration guide is available at
16 * https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.
17 *
18 * If the Phoenix 5 API must be used for this device, the device must have 22.X
19 * firmware. This firmware is available in Tuner X after selecting Phoenix 5 in
20 * the firmware year dropdown.
21 */
22class [[deprecated("This device's Phoenix 5 API is deprecated for removal in the 2027 season."
23 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
24 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
26 static const CANdleConfiguration &_default();
27public:
28
29 [[deprecated("This device's Phoenix 5 API is deprecated for removal in the 2027 season."
30 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
31 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
33 [[deprecated("This device's Phoenix 5 API is deprecated for removal in the 2027 season."
34 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
35 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
37 [[deprecated("This device's Phoenix 5 API is deprecated for removal in the 2027 season."
38 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
39 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
41 [[deprecated("This device's Phoenix 5 API is deprecated for removal in the 2027 season."
42 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
43 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
45 [[deprecated("This device's Phoenix 5 API is deprecated for removal in the 2027 season."
46 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
47 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
49 [[deprecated("This device's Phoenix 5 API is deprecated for removal in the 2027 season."
50 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
51 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
53};
54
55} // namespace led
56} // namespace phoenix
57} // namespace ctre
Util class to help with configuring CANdle.
Definition CANdleConfigUtil.h:25
static bool StripTypeDifferent(CANdleConfiguration settings)
static bool StatusLedOffWhenActiveDifferent(CANdleConfiguration settings)
static bool V5EnabledDifferent(CANdleConfiguration settings)
static bool DisableWhenLOSDifferent(CANdleConfiguration settings)
static bool BrightnessScalarDifferent(CANdleConfiguration settings)
static bool VBatOutputModeDifferent(CANdleConfiguration settings)
WPI Compliant Pigeon class.
Definition PigeonIMU_StickyFaults.h:6
Util class to help custom configs.
Definition CustomParamConfiguration.h:53
Configurables available to CANdle.
Definition CANdleConfiguration.h:23