mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Implement frame timestamps and use wpi::Now() for generation.
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#define CAMERASERVER_FRAME_H_
|
||||
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
|
||||
#include "llvm/StringRef.h"
|
||||
@@ -24,7 +23,7 @@ class Frame {
|
||||
friend class SourceImpl;
|
||||
|
||||
public:
|
||||
typedef std::chrono::system_clock::time_point Time;
|
||||
typedef uint64_t Time;
|
||||
|
||||
private:
|
||||
struct Data {
|
||||
|
||||
Reference in New Issue
Block a user