bt_live.ros_node

Module Contents

Classes

SingletonBtLiveNode

BtLiveNode

Functions

_has_uid

Check if the uid field is present in the message.

API

bt_live.ros_node._has_uid(bt_status_change: nav2_msgs.msg.BehaviorTreeStatusChange) bool

Check if the uid field is present in the message.

This is a workaround for the fact that the uid field was added later.

class bt_live.ros_node.SingletonBtLiveNode(args=None)

Initialization

_instance = None
__getattr__(name)
__call__(*args, **kwargs)
class bt_live.ros_node.BtLiveNode(args=None)

Bases: rclpy.node.Node

Initialization

callback(msg: nav2_msgs.msg.BehaviorTreeStatusChange)
spin_once()