Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ROS2 Humble #2406

Merged
merged 16 commits into from
Jul 14, 2022
Prev Previous commit
Next Next commit
fix ifdefs
  • Loading branch information
SamerKhshiboun committed Jul 12, 2022
commit bec9832ac863af0d3a32f59abd05155766030234
4 changes: 3 additions & 1 deletion realsense2_camera/src/dynamic_params.cpp
Original file line number Diff line number Diff line change
@@ -103,7 +103,9 @@ namespace realsense2_camera
try
{
ROS_DEBUG_STREAM("setParam::Setting parameter: " << param_name);
#if defined(GALACTIC) || defined(HUMBLE) || defined(ROLLING)
#if defined(DASHING) || defined(ELOQUENT) || defined(FOXY)
//do nothing for old versions
#else
descriptor.dynamic_typing=true; // Without this, undeclare_parameter() throws in Galactic onward.
#endif
if (!_node.get_parameter(param_name, result_value))