lidar_sensor.cpp 544 B

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