base.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:needybot-core 作者: needybot 项目源码 文件源码
def __init__(self, name, blackboard):

        """
        Tree task responsible for spawning new tasks. Once a task has a status of completed of failure
        this branch of the tree is executed. The timer waits for 5 seconds before sending the final 
        complete signal to the running task and spawning a new one.

        Args:
            name(str):              Name of this behavior tree task for identification.
            blackboard(Blackboard): Behavior tree blackboard that stores global vars.
        """

        super(Spawner, self).__init__(name, blackboard)
        self.timer = None
        self.spawning = False
        self.spawn_delay = rospy.get_param("~spawn-delay", 0.0)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号