Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

(ROS Specific) Implementing Reactive Fallback#1018

Unanswered
martijnhabers asked this question inQ&A
Discussion options

What would be the best way to implement a reactive fallback with ROS Actions to continuously check for a condition?

Take this example:

  • Fallback
    ----> IsAligned
    ----> AlignRobot

IsAligned checks if the robot is aligned w.r.t a wall, if it is not,AlignRobot aligns it to said wall. However,AlignRobot does not have ability to check completion of task so it will just loop indefinitely.

Currently,IsAligned is a ROSActionNode which calls the ROSIsAligned Action. However, making this Fallback a ReactiveFallback would meanIsAligned would 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 aBT::ConditionNode.

Is this something that would be possible?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@martijnhabers

[8]ページ先頭

©2009-2025 Movatter.jp