Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class RosTopicLogger : public BT::StatusChangeLogger
// before converting to a msg.
event.timestamp = tf2_ros::toMsg(tf2::TimePoint(timestamp));
event.node_name = node.name();
event.uid = node.UID();
event.previous_status = toStr(prev_status, false);
event.current_status = toStr(status, false);
event_log_.push_back(std::move(event));
Expand Down
3 changes: 2 additions & 1 deletion nav2_msgs/msg/BehaviorTreeStatusChange.msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
builtin_interfaces/Time timestamp # internal behavior tree event timestamp. Typically this is wall clock time
builtin_interfaces/Time timestamp # internal behavior tree event timestamp. Typically this is wall clock time
string node_name
uint16 uid # unique ID for this node
string previous_status # IDLE, RUNNING, SUCCESS or FAILURE
string current_status # IDLE, RUNNING, SUCCESS or FAILURE