fix(camera): gate Action Command service by device support

This commit is contained in:
slz
2026-09-03 16:19:45 +08:00
parent 8e8c183e03
commit 62c12ff542
3 changed files with 70 additions and 5 deletions
@@ -88,6 +88,7 @@ class OBCameraNodeDriver : public rclcpp::Node {
void setBagRecordingCallback(
const std::shared_ptr<orbbec_camera_msgs::srv::SetBagRecording::Request> request,
std::shared_ptr<orbbec_camera_msgs::srv::SetBagRecording::Response> response);
void setupActionCommandService();
void sendActionCommandCallback(
const std::shared_ptr<orbbec_camera_msgs::srv::SendActionCommand::Request> request,
std::shared_ptr<orbbec_camera_msgs::srv::SendActionCommand::Response> response);