Closed AndyZe closed 1 month ago
From what I see here, the service client is non-blocking:
https://github.com/BehaviorTree/BehaviorTree.ROS2/blob/b8ee38197013fd9160716000fa1e2dbb2895fb17/behaviortree_ros2/include/behaviortree_ros2/bt_service_node.hpp#L59
I think it would be nice to have a blocking version as well, since people often send a service request then wait for the response. Or does this not fit well with the BT philosophy?
Circling back, I realize now you could just do something like this:
<Sequence> <MyServiceCall/> </Sequence>
From what I see here, the service client is non-blocking:
https://github.com/BehaviorTree/BehaviorTree.ROS2/blob/b8ee38197013fd9160716000fa1e2dbb2895fb17/behaviortree_ros2/include/behaviortree_ros2/bt_service_node.hpp#L59
I think it would be nice to have a blocking version as well, since people often send a service request then wait for the response. Or does this not fit well with the BT philosophy?