CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
FrcUsageReport.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#pragma once
8#include <string>
10
11namespace ctre {
12namespace phoenix {
13namespace platform {
14
15CTREXPORT int FRC_Report(int resource, int instanceNumber, std::string const &canbus = "", int callerIdx = 0, int context = 0, const char* feature = nullptr);
16CTREXPORT int FRC_Report(std::string const &model, int instanceNumber, std::string const &canbus = "", int callerIdx = 0, int context = 0, const char* feature = nullptr);
17
34
35} //namespace platform
36} //namespace phoenix
37} //namespace ctre
#define CTREXPORT
Definition export.h:14
CTREXPORT int FRC_Report(int resource, int instanceNumber, std::string const &canbus="", int callerIdx=0, int context=0, const char *feature=nullptr)
FrcUsageType
Definition FrcUsageReport.hpp:18
@ CANcoder
Definition FrcUsageReport.hpp:23
@ VictorSPX
Definition FrcUsageReport.hpp:22
@ CANdle
Definition FrcUsageReport.hpp:25
@ TalonFXS
Definition FrcUsageReport.hpp:28
@ TalonFX
Definition FrcUsageReport.hpp:24
@ CANivore
Definition FrcUsageReport.hpp:26
@ Pigeon2
Definition FrcUsageReport.hpp:27
@ CANdi
Definition FrcUsageReport.hpp:29
@ CANifier
Definition FrcUsageReport.hpp:21
@ API_Swerve
Definition FrcUsageReport.hpp:31
@ TalonSRX
Definition FrcUsageReport.hpp:19
@ API_LegacySwerve
Definition FrcUsageReport.hpp:32
@ PigeonIMU
Definition FrcUsageReport.hpp:20
@ CANrange
Definition FrcUsageReport.hpp:30
Definition StatusCodes.h:18