Skip to content

Commit

Permalink
add_on_set_parameters_callback
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Nov 19, 2024
1 parent cde65d2 commit b780e24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CameraNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class CameraNode : public rclcpp::Node

ParameterHandler parameter_handler;

PostSetParametersCallbackHandle::SharedPtr param_cb_change;
OnSetParametersCallbackHandle::SharedPtr callback_parameter_change;

// map parameter names to libcamera control id
std::unordered_map<std::string, const libcamera::ControlId *> parameter_ids;
Expand Down Expand Up @@ -184,7 +184,7 @@ CameraNode::CameraNode(const rclcpp::NodeOptions &options)
: Node("camera", options),
cim(this),
parameter_handler(this),
param_cb_change(add_post_set_parameters_callback(
callback_parameter_change(add_on_set_parameters_callback(
std::bind(&CameraNode::onParameterChange, this, std::placeholders::_1)))
{
// pixel format
Expand Down

0 comments on commit b780e24

Please sign in to comment.