lidar_sensor.h 401 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "../../common/comm.h"
  3. class CMessageQueue;
  4. class CLidarSensor
  5. {
  6. public:
  7. CLidarSensor(CMessageQueue* q);
  8. bool Start();
  9. void Stop();
  10. void Notify(int8_t * buffer,int32_t size);
  11. void SetSensorSocket(SensorSocket<CLidarSensor>* can);
  12. void SetChannelReady(bool ret){_channelReady=ret;}
  13. private:
  14. //CMessageQueue *_q=nullptr;
  15. bool _channelReady=false;
  16. };