CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
Utils.hpp File Reference
#include "ctre/phoenix6/networking/Utils.hpp"
#include <units/time.h>
#include "frc/Timer.h"

Go to the source code of this file.

Namespaces

namespace  ctre
 
namespace  ctre::phoenix6
 
namespace  ctre::phoenix6::utils
 

Functions

units::second_t ctre::phoenix6::utils::GetCurrentTime ()
 Get the current timestamp.
 
units::second_t ctre::phoenix6::utils::GetSystemTime ()
 Get the system timestamp.
 
units::second_t ctre::phoenix6::utils::FPGAToCurrentTime (units::second_t fpgaTime)
 Converts an FPGA timestamp to the timebase reported by GetCurrentTime().