typedef.h 766 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // Created by zx on 22-11-2.
  3. //
  4. #ifndef SRC_LIO_LIVOX_INCLUDE_UTILS_TYPEDEF_H_
  5. #define SRC_LIO_LIVOX_INCLUDE_UTILS_TYPEDEF_H_
  6. #include <pcl/point_cloud.h>
  7. #include <pcl/point_types.h>
  8. typedef pcl::PointXYZINormal PointType;
  9. typedef pcl::PointCloud<PointType> PointCloud;
  10. typedef struct
  11. {
  12. double timebase;
  13. pcl::PointCloud<PointType>::Ptr cloud;
  14. }TimeCloud;
  15. typedef void(*odomCallback)(Eigen::Matrix4d,double);
  16. typedef void(*CloudMappedCallback)(pcl::PointCloud<PointType>::Ptr,double);
  17. typedef void(*CostCallback)(double);
  18. typedef struct
  19. {
  20. double x;
  21. double y;
  22. double z;
  23. }Data3d;
  24. typedef struct
  25. {
  26. double timebase;
  27. Data3d angular_velocity;
  28. Data3d linear_acceleration;
  29. } ImuData;
  30. #endif //SRC_LIO_LIVOX_INCLUDE_UTILS_TYPEDEF_H_