CTRE Phoenix 6 C++ 23.2.1
|
Namespaces | |
namespace | configs |
namespace | controls |
namespace | hardware |
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 | ISerializable |
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... | |
Typedefs | |
using | BaseStatusSignalValue = BaseStatusSignal |
template<typename T > | |
using | StatusSignalValue = StatusSignal< T > |
Functions | |
CTREXPORT double | GetCurrentTimeSeconds () |
Get the current timestamp in seconds. More... | |
CTREXPORT bool | IsSimulation () |
Get whether the program is running in simulation. More... | |
using ctre::phoenix6::BaseStatusSignalValue = typedef BaseStatusSignal |
BaseStatusSignal
instead. using ctre::phoenix6::StatusSignalValue = typedef StatusSignal<T> |
StatusSignal
instead. 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