verifier.cpp 464 B

12345678910111213141516171819
  1. //
  2. // Created by zx on 2021/8/10.
  3. //
  4. #include "verifier.h"
  5. verifier::verifier(const shuttler_verifier& left,const shuttler_verifier& right)
  6. {
  7. m_left_shutter_verifier=left;
  8. m_right_shutter_verifier=right;
  9. }
  10. Error_manager verifier::verify(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud)
  11. {
  12. Error_manager code=m_left_shutter_verifier.verify(cloud);
  13. if(code!=SUCCESS)
  14. return code;
  15. code=m_right_shutter_verifier.verify(cloud);
  16. return code;
  17. }