Giter VIP home page Giter VIP logo

Comments (3)

facontidavide avatar facontidavide commented on August 21, 2024

can't address this without a reproducible example

from behaviortree.ros2.

EGAlberts avatar EGAlberts commented on August 21, 2024

I am facing the same issue. In my case the example is with Nav2, if I have one node which sends a initial position to Nav2, and then the next node sends a goal position to travel to (using the NavigateToPose action), the goal is rejected because Nav2 is still busy processing my publishing of an initial position. Giving you code to reproduce this accurately might be tricky, but I would also like to know the rationale for throwing a runtime_error at all rather than NodeFailure, since the former crashes the entire BT, and the latter allows the developer to choose how to handle the situation.

from behaviortree.ros2.

marj3220 avatar marj3220 commented on August 21, 2024

We are facing the same issue with a custom action. In our case, the action server is responsible to dock and undock the robot to it's docking station. If the docking station is not visible by our camera then the action server will reject the action.

The desired behavior would be to catch the action rejection in the BT and handle it accordingly. Therefore, the bt_action_node must not throw because the whole bt crashes.

I filed a very simple PR to address this issue, please have a look and give me your feedback on this :)
#39

from behaviortree.ros2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.