CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
creos::RobotClock Class Reference

The clock that represents the robot time. More...

#include <creos/robot_clock.hpp>

Public Types

using duration = typename std::chrono::nanoseconds
 
using rep = typename duration::rep
 
using period = typename duration::period
 
using time_point = typename std::chrono::time_point<RobotClock, duration>
 

Static Public Member Functions

static time_point from_time_t (std::time_t t) noexcept
 Construct a time_point from a time_t.
 
static time_point now () noexcept
 Return the current time.
 

Static Public Attributes

static constexpr bool is_steady = false
 

Detailed Description

The clock that represents the robot time.

The robot clock is a representation of the time source of the time on the robot. In normal operation it behaves identically to std::chrono::system_clock, while in simulation it will return the simulated time.


The documentation for this class was generated from the following files: