Skip to content

Commit

Permalink
#IF guard for humble
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Poignonec committed Aug 30, 2024
1 parent 0f115a3 commit 4956b5b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ bool PassiveVicTeleopLogic::internal_init(
auto rule_plugin_name_param_name = param_namespace + ".rule_plugin_name";
auto rule_plugin_package_param_name = param_namespace + ".rule_plugin_package";

#if CARTESIAN_VIC_TELEOP_CONTROLLER_JAZZY || CARTESIAN_VIC_TELEOP_CONTROLLER_ROLLING
// Does not work seem to work humble
rcl_interfaces::msg::ParameterDescriptor rule_plugin_param_desc;
rule_plugin_param_desc.name = "rule_plugin_name";
rule_plugin_param_desc.type = rcl_interfaces::msg::ParameterType::PARAMETER_STRING;
Expand All @@ -150,6 +152,7 @@ bool PassiveVicTeleopLogic::internal_init(
rule_plugin_name_param_name, rclcpp::ParameterValue(""), rule_plugin_param_desc);
parameters_interface->declare_parameter(
rule_plugin_package_param_name, rclcpp::ParameterValue(""), rule_plugin_package_param_desc);
#endif

auto rule_plugin_name_param = rclcpp::Parameter();
auto rule_plugin_package_param = rclcpp::Parameter();
Expand Down

0 comments on commit 4956b5b

Please sign in to comment.