We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d31eb1f commit 06a508eCopy full SHA for 06a508e
behaviortree_ros2/include/behaviortree_ros2/bt_topic_sub_node.hpp
@@ -273,9 +273,9 @@ template<class T> inline
273
}
274
275
// Check if there was a message received before the creation of this subscriber action
276
- if (sub_instance_.last_msg)
+ if (sub_instance_->last_msg)
277
{
278
- last_msg_ = sub_instance_.last_msg;
+ last_msg_ = sub_instance_->last_msg;
279
280
281
// add "this" as received of the broadcaster
0 commit comments