Skip to content

Commit f063439

Browse files
Merge pull request BehaviorTree#7 from umdlife/hotfix/typos
Rename namespace and function onTick of topic_sub
2 parents c2bb8ae + c5fc4f0 commit f063439

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/behaviortree_ros2/bt_service_node.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include "behaviortree_ros2/ros_node_params.hpp"
2525

26-
namespace BT::ROS
26+
namespace BT
2727
{
2828

2929
enum ServiceNodeErrorCode

include/behaviortree_ros2/bt_topic_sub_node.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ template<class T> inline
215215
return status;
216216
};
217217
callback_group_executor_.spin_some();
218-
auto status = CheckStatus (onMessageReceived(last_msg_));
218+
auto status = CheckStatus (onTick(last_msg_));
219219
last_msg_ = nullptr;
220220

221221
return status;

0 commit comments

Comments
 (0)