(ROS Specific) Implementing Reactive Fallback #1018
Unanswered
martijnhabers
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What would be the best way to implement a reactive fallback with ROS Actions to continuously check for a condition?
Take this example:
----> IsAligned
----> AlignRobot
IsAlignedchecks if the robot is aligned w.r.t a wall, if it is not,AlignRobotaligns it to said wall. However,AlignRobotdoes not have ability to check completion of task so it will just loop indefinitely.Currently,
IsAlignedis a ROSActionNode which calls the ROSIsAlignedAction. However, making this Fallback a ReactiveFallback would meanIsAlignedwould be ticked at a frequency which is not ideal for ROS to call the ROS action (since ROS actions are not really designed for this).My idea is to have a ROS node in the background constantly checking alignment and it somehow setting a blackboard value which can then be checked with a
BT::ConditionNode.Is this something that would be possible?
Beta Was this translation helpful? Give feedback.
All reactions