change set_fan_mode to set_fan_work_mode

This commit is contained in:
Joe Dong
2023-02-17 15:18:52 +08:00
parent 503d52880f
commit ba696d46c5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ to `true` in the stream that corresponds to the argument of the launch file.
- `/camera/set_depth_auto_exposure` - `/camera/set_depth_auto_exposure`
- `/camera/set_depth_exposure` - `/camera/set_depth_exposure`
- `/camera/set_depth_gain` - `/camera/set_depth_gain`
- `/camera/set_fan_mode` - `/camera/set_fan_work_mode`
- `/camera/set_floor_enable` - `/camera/set_floor_enable`
- `/camera/set_ir_auto_exposure` - `/camera/set_ir_auto_exposure`
- `/camera/set_ir_exposure` - `/camera/set_ir_exposure`
+1 -1
View File
@@ -73,7 +73,7 @@ void OBCameraNode::setupCameraCtrlServices() {
}); });
} }
set_fan_mode_srv_ = node_->create_service<SetInt32>( set_fan_mode_srv_ = node_->create_service<SetInt32>(
"set_fan_mode", [this](const std::shared_ptr<SetInt32::Request> request, "set_fan_work_mode", [this](const std::shared_ptr<SetInt32::Request> request,
std::shared_ptr<SetInt32::Response> response) { std::shared_ptr<SetInt32::Response> response) {
setFanModeCallback(request, response); setFanModeCallback(request, response);
}); });