53 bool Callback(RawImageFrame *rawFrame);
54 void processFrame(
int frameId,
char *image,
char *extended, int64_t time,
55 int width,
int height);
56 void processFrame(
int frameId,
char *image, uint32_t dataSize,
int width,
57 int height,
int frameFormat);
60 std::shared_ptr<Writer<Image>> writer_ =
nullptr;
61 std::shared_ptr<Writer<SmartereyeObstacles>> SmartereyeObstacles_writer_ =
63 std::shared_ptr<Writer<SmartereyeLanemark>> SmartereyeLanemark_writer_ =
65 std::unique_ptr<SmartereyeDevice> camera_device_ =
nullptr;
66 std::shared_ptr<Config> camera_config_ =
nullptr;
67 uint32_t spin_rate_ = 200;
68 uint32_t device_wait_ = 2000;
69 std::future<void> async_result_;
70 std::atomic<bool> running_ = {
false};
71 bool b_ispolling_ =
false;