fixed code format

This commit is contained in:
Joe Dong
2023-02-13 15:43:08 +08:00
parent c06918fb45
commit dbaf8ba265
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -106,12 +106,12 @@ void OBCameraNode::setupCameraCtrlServices() {
});
get_auto_white_balance_srv_ = node_->create_service<GetInt32>(
"get_auto_white_balance", [this](const std::shared_ptr<GetInt32::Request> request,
std::shared_ptr<GetInt32::Response> response) {
std::shared_ptr<GetInt32::Response> response) {
getAutoWhiteBalanceCallback(request, response);
});
set_auto_white_balance_srv_ = node_->create_service<SetBool>(
"set_auto_white_balance", [this](const std::shared_ptr<SetBool::Request> request,
std::shared_ptr<SetBool::Response> response) {
std::shared_ptr<SetBool::Response> response) {
setAutoWhiteBalanceCallback(request, response);
});
get_device_srv_ = node_->create_service<GetDeviceInfo>(
+1 -1
View File
@@ -225,7 +225,7 @@ std::string ObDeviceTypeToString(const OBDeviceType &type) {
return "unknown technology camera";
}
rmw_qos_profile_t getRMWQosProfileFromString(const std::string& str_qos) {
rmw_qos_profile_t getRMWQosProfileFromString(const std::string &str_qos) {
std::string upper_str_qos = str_qos;
std::transform(upper_str_qos.begin(), upper_str_qos.end(), upper_str_qos.begin(), ::toupper);
if (upper_str_qos == "SYSTEM_DEFAULT") {