Similar to https://github.com/ros2/rclcpp/pull/929, but for the subscription. This fixes an issue listening to parameter events from a remote node when the local node has a different namespace. Originally reported here: https://answers.ros.org/question/358170/parameter-events-on-foxy/ Signed-off-by: Jacob Perron <jacob@openrobotics.org>
This commit is contained in:
parent
7266e67683
commit
0e8450940f
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ public:
|
||||||
{
|
{
|
||||||
return rclcpp::create_subscription<rcl_interfaces::msg::ParameterEvent>(
|
return rclcpp::create_subscription<rcl_interfaces::msg::ParameterEvent>(
|
||||||
node,
|
node,
|
||||||
"parameter_events",
|
"/parameter_events",
|
||||||
qos,
|
qos,
|
||||||
std::forward<CallbackT>(callback),
|
std::forward<CallbackT>(callback),
|
||||||
options);
|
options);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue