Skip to content

Commit

Permalink
use proper name for camerainfo when using sync driver
Browse files Browse the repository at this point in the history
  • Loading branch information
berndpfrommer committed Apr 2, 2024
1 parent d417363 commit 482ee06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinnaker_camera_driver/src/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ bool Camera::start()
}

infoManager_ = std::make_shared<camera_info_manager::CameraInfoManager>(
node_, node_->get_name(), cameraInfoURL_);
node_, name_.empty() ? node_->get_name() : name_, cameraInfoURL_);
controlSub_ = node_->create_subscription<flir_camera_msgs::msg::CameraControl>(
"~/" + topicPrefix_ + "control", 10,
std::bind(&Camera::controlCallback, this, std::placeholders::_1));
Expand Down

0 comments on commit 482ee06

Please sign in to comment.