lidar_sensor.cpp 526 B

12345678910111213141516171819202122232425262728293031323334
  1. #include<functional>
  2. #include "PCANBasic.h"
  3. #include "../common/comm.h"
  4. #include "../common/iobuffer.h"
  5. #include "../common/sensor_socket.h"
  6. #include "lidar_sensor.h"
  7. #include "message_queue.h"
  8. CLidarSensor::CLidarSensor(CMessageQueue* q)///:_q(q)
  9. {
  10. }
  11. bool CLidarSensor::Start()
  12. {
  13. return true;
  14. }
  15. void CLidarSensor::Stop()
  16. {
  17. }
  18. void CLidarSensor::SetSensorSocket(SensorSocket<CLidarSensor>* can)
  19. {
  20. }
  21. void CLidarSensor::Notify(int8_t * buffer,int32_t size)
  22. {
  23. std::cout<<"size :"<<size<<std::endl;
  24. }