Skip to content

Commit

Permalink
[DEX] fix CM dynamicParametersCallback override
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Doisy committed Dec 2, 2024
1 parent 5015798 commit 4f44b6c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nav2_collision_monitor/src/pointcloud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ PointCloud::dynamicParametersCallback(
} else if (param_name == source_name_ + "." + "max_height") {
max_height_ = parameter.as_double();
}
} else if (param_type == rcl_interfaces::msg::ParameterType::PARAMETER_BOOL) {
if (param_name == source_name_ + "." + "enabled") {
enabled_ = parameter.as_bool();
}
}
}
result.successful = true;
Expand Down

0 comments on commit 4f44b6c

Please sign in to comment.