mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-09 22:29:48 +08:00
feat: support multiple ROS 2 distributions
This commit is contained in:
@@ -17,13 +17,19 @@
|
||||
#pragma once
|
||||
#include <ostream>
|
||||
#include <Eigen/Dense>
|
||||
#include <tf2/LinearMath/Quaternion.hpp>
|
||||
#include <rclcpp/rclcpp.hpp>
|
||||
|
||||
#include "libobsensor/ObSensor.hpp"
|
||||
#include "sensor_msgs/distortion_models.hpp"
|
||||
#include "sensor_msgs/msg/camera_info.hpp"
|
||||
#include "orbbec_camera_msgs/msg/extrinsics.hpp"
|
||||
#if __has_include(<tf2/LinearMath/Quaternion.hpp>)
|
||||
#include <tf2/LinearMath/Quaternion.hpp>
|
||||
#elif __has_include(<tf2/LinearMath/Quaternion.h>)
|
||||
#include <tf2/LinearMath/Quaternion.h>
|
||||
#else
|
||||
#error "No compatible tf2 Quaternion header found"
|
||||
#endif
|
||||
#include <sensor_msgs/msg/point_cloud2.hpp>
|
||||
#include <opencv2/opencv.hpp>
|
||||
#include <openssl/evp.h>
|
||||
|
||||
Reference in New Issue
Block a user