CTRE Phoenix 6 C++ 24.3.0
Unmanaged.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
10#include <cstdint>
11
12namespace ctre {
13namespace phoenix {
14namespace unmanaged {
15 /**
16 * \brief Feed the robot enable.
17 * This function does nothing on a roborio during FRC use.
18 *
19 * \param timeoutMs Timeout before disabling
20 */
21 CTREXPORT void FeedEnable(int timeoutMs);
22 /**
23 * \returns true if enabled
24 */
26 /**
27 * \brief Sets whether to enable transmitting
28 * This function does nothing on a roborio during FRC use.
29 *
30 * \param en True enables transmitting
31 */
33 /**
34 * \returns true if transmitting is enabled
35 */
37 /**
38 * \returns Phoenix version
39 */
42
44}
45}
46}
#define CTREXPORT
Definition: export.h:14
CTREXPORT int GetPhoenixVersion()
CTREXPORT void LoadPhoenix()
CTREXPORT void SetTransmitEnable(bool en)
Sets whether to enable transmitting This function does nothing on a roborio during FRC use.
CTREXPORT bool GetEnableState()
CTREXPORT int GetApiCompliancy()
CTREXPORT bool GetTransmitEnable()
CTREXPORT void FeedEnable(int timeoutMs)
Feed the robot enable.
Definition: string_util.hpp:15