mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-14 09:22:05 +08:00
81491dc57f
* c++ cleanup: standardize file extensions to .cc and .h * cleanup files_common
11 lines
200 B
C++
11 lines
200 B
C++
#pragma once
|
|
|
|
#include "cereal/gen/cpp/log.capnp.h"
|
|
|
|
class Sensor {
|
|
public:
|
|
virtual ~Sensor() {};
|
|
virtual int init() = 0;
|
|
virtual void get_event(cereal::SensorEventData::Builder &event) = 0;
|
|
};
|