CTRE Phoenix 6 C++ 24.3.0
|
Namespaces | |
namespace | configs |
namespace | controls |
namespace | hardware |
namespace | mechanisms |
namespace | networking |
namespace | signals |
namespace | sim |
namespace | spns |
namespace | wpiutils |
Classes | |
class | AllTimestamps |
A collection of timestamps for a received signal. More... | |
class | BaseStatusSignal |
Class that provides operations to retrieve information about a status signal. More... | |
class | CANBus |
Static class for getting information about available CAN buses. More... | |
class | ISerializable |
class | Orchestra |
Orchestra is used to play music through devices. More... | |
class | SignalLogger |
Static class for controlling the Phoenix 6 signal logger. More... | |
struct | SignalMeasurement |
Information from a single measurement of a status signal. More... | |
class | StatusSignal |
Represents a status signal with data of type T, and operations available to retrieve information about the signal. More... | |
class | Timestamp |
Information about the timestamp of a signal. More... | |
Enumerations | |
enum class | MechanismState { OK , Disabled , RequiresUserAction } |
Possible states of a mechanism. More... | |
Functions | |
CTREXPORT double | GetCurrentTimeSeconds () |
Get the current timestamp in seconds. More... | |
CTREXPORT bool | IsSimulation () |
Get whether the program is running in simulation. More... | |
|
strong |
CTREXPORT double ctre::phoenix6::GetCurrentTimeSeconds | ( | ) |
Get the current timestamp in seconds.
This will return the current time in seconds, this is the same time that is used in Timestamp.
CTREXPORT bool ctre::phoenix6::IsSimulation | ( | ) |
Get whether the program is running in simulation.
true
if in simulation