mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-03 19:47:46 +08:00
fixed get camera params
This commit is contained in:
@@ -143,6 +143,10 @@ class OBCameraNode {
|
||||
|
||||
std::optional<OBCameraParam> findDefaultCameraParam();
|
||||
|
||||
std::optional<OBCameraParam> getDepthCameraParam();
|
||||
|
||||
std::optional<OBCameraParam> getColorCameraParam();
|
||||
|
||||
void getExposureCallback(const std::shared_ptr<GetInt32::Request>& request,
|
||||
std::shared_ptr<GetInt32::Response>& response,
|
||||
const stream_index_pair& stream_index);
|
||||
|
||||
@@ -52,6 +52,7 @@ class OBCameraNodeFactory : public rclcpp::Node {
|
||||
std::atomic_bool is_alive_{false};
|
||||
std::atomic_bool device_connected_{false};
|
||||
std::string serial_number_;
|
||||
std::string device_unique_id_;
|
||||
std::shared_ptr<Parameters> parameters_ = nullptr;
|
||||
std::shared_ptr<std::thread> query_thread_ = nullptr;
|
||||
std::recursive_mutex device_lock_;
|
||||
|
||||
Reference in New Issue
Block a user