-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I am wondering if there is a potential bug and how to handle topic subscriptions in behavior tree nodes.
I was working on my own nodes and cross checking with nav2 how it's done here.
And basically there is one client node created and written to the blackboard. This node gets spinned only when an action client is present with an active request.
For example the is_stuck_condition's odom subscription is updated only when the spin of one of the action client's gets called. Do I see this right?
And my solution would be calling spin_some on the node which I think is missing in is_stuck_condition. But then again, this could lead to problems if we have nodes in parallel which both spin.
Is there some design pattern / rule on how such situations should be handled?