12345678910111213141516171819202122232425 |
- #pragma once
-
-
- #include "../../common/comm.h"
-
-
- class CMessageQueue;
-
- class CLidarSensor
- {
- public:
- CLidarSensor(CMessageQueue* q);
- bool Start();
- void Stop();
- void Notify(int8_t * buffer,int32_t size);
- void SetSensorSocket(SensorSocket<CLidarSensor>* can);
- void SetChannelReady(bool ret){_channelReady=ret;}
- private:
-
- //CMessageQueue *_q=nullptr;
- bool _channelReady=false;
- };
-
|