10#include <units/time.h>
60 return (
GetCurrentTime() - frc::Timer::GetFPGATimestamp()) + fpgaTime;
units::second_t GetSystemTime()
Get the system timestamp.
Definition Utils.hpp:46
CTREXPORT double GetSystemTimeSeconds()
Get the system timestamp in seconds.
CTREXPORT double GetCurrentTimeSeconds()
Get the current timestamp in seconds.
units::second_t GetCurrentTime()
Get the current timestamp.
Definition Utils.hpp:29
units::second_t FPGAToCurrentTime(units::second_t fpgaTime)
Converts an FPGA timestamp to the timebase reported by GetCurrentTime().
Definition Utils.hpp:58
Definition StatusCodes.h:18