Skip to content

Remove try-catch blocks around declare_parameter#663

Merged
SteveMacenski merged 1 commit intocra-ros-pkg:ros2from
jacobperron:remove_try_catch
May 21, 2021
Merged

Remove try-catch blocks around declare_parameter#663
SteveMacenski merged 1 commit intocra-ros-pkg:ros2from
jacobperron:remove_try_catch

Conversation

@jacobperron
Copy link
Copy Markdown
Contributor

@jacobperron jacobperron commented May 20, 2021

Try-catches were added in #631 due to a new rclcpp feature enforcing static parameters.
The behavior was later patched for this particular use-case in ros2/rclcpp#1673, so now we can avoid having to try-catch.


Note, you'll need this change to compile against Galactic and newer.

Try-catches were added in #631 due to a new rclcpp feature enforcing static parameter.
The behavior was later patched for this particular use-case in ros2/rclcpp#1673, so now we can avoid having to try-catch.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@SteveMacenski SteveMacenski merged commit 08bbf35 into cra-ros-pkg:ros2 May 21, 2021
@SteveMacenski
Copy link
Copy Markdown
Collaborator

thanks!

@jacobperron jacobperron deleted the remove_try_catch branch May 21, 2021 20:57
SteveMacenski pushed a commit that referenced this pull request May 24, 2021
Try-catches were added in #631 due to a new rclcpp feature enforcing static parameter.
The behavior was later patched for this particular use-case in ros2/rclcpp#1673, so now we can avoid having to try-catch.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
SteveMacenski added a commit that referenced this pull request May 24, 2021
* Add missing message_filters dependency (#666)

Headers from message_filters are included here:
https://github.com/cra-ros-pkg/robot_localization/blob/67098c2341b5d1ccbcceb8eede60e79db74814a6/include/robot_localization/ros_robot_localization_listener.h\#L41-L42

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Remove try-catch blocks around declare_parameter (#663)

Try-catches were added in #631 due to a new rclcpp feature enforcing static parameter.
The behavior was later patched for this particular use-case in ros2/rclcpp#1673, so now we can avoid having to try-catch.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

Co-authored-by: Jacob Perron <jacob@openrobotics.org>
SteveMacenski pushed a commit that referenced this pull request May 25, 2021
* Remove try-catch blocks around declare_parameter (#663)

Try-catches were added in #631 due to a new rclcpp feature enforcing static parameter.
The behavior was later patched for this particular use-case in ros2/rclcpp#1673, so now we can avoid having to try-catch.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Add missing message_filters dependency (#666)

Headers from message_filters are included here:
https://github.com/cra-ros-pkg/robot_localization/blob/67098c2341b5d1ccbcceb8eede60e79db74814a6/include/robot_localization/ros_robot_localization_listener.h\#L41-L42

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Revert "Enable QoS overrides (#657)"

This reverts commit 2816e92.

Co-authored-by: Jacob Perron <jacob@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants