Skip to content

Implement onParametersSet for handling only analyzers node parameters#551

Open
Noel215 wants to merge 1 commit intoros:ros2from
Noel215:fix/update-on-new-parameters
Open

Implement onParametersSet for handling only analyzers node parameters#551
Noel215 wants to merge 1 commit intoros:ros2from
Noel215:fix/update-on-new-parameters

Conversation

@Noel215
Copy link

@Noel215 Noel215 commented Mar 5, 2026

The previous implementation is using a callback that is invoked for all the parameter events of all ROS 2 nodes and it filters by node name. It could lead to race conditions when setting parameters depending on the depth size of the callback.

With this new approach, the callback is only triggered when setting parameters for the analyzers node, avoiding possible race conditions when setting the parameters.

The previous implementation is using a callback that is invoked for all
the parameter events of all ROS 2 nodes and it filters by node name.
It could lead to race conditions when setting parameters depending on
the depth size of the callback.

With this new approach, the callback is only triggered when setting
parameters for the analyzers node, avoiding possible race conditions
when setting the parameters.
@mergify mergify bot added the ros2 PR tackling a ROS2 branch label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ros2 PR tackling a ROS2 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant