Giter VIP home page Giter VIP logo

Comments (3)

AndyZe avatar AndyZe commented on May 30, 2024

Hmm, I see that server_timeout and bt_loop_duration are read slightly differently. Tricky.

bt_loop_duration_ =
  config().blackboard->template get<std::chrono::milliseconds>("bt_loop_duration");
server_timeout_ =
  config().blackboard->template get<std::chrono::milliseconds>("server_timeout");
getInput<std::chrono::milliseconds>("server_timeout", server_timeout_);

from navigation2.

SteveMacenski avatar SteveMacenski commented on May 30, 2024

These are indeed different parameters for different things and bt_loop_duration is not a parameter that is adjustable on a per-BT node basis. Its a system level parameter of the tick rate of the entire tree. Its used to limit the action/service call timeouts to the BT tick rate so that the tree can obtain the full BT tick rate requested by the user. So, this is not changable beyond adjusting that parameter for the whole tree.

The server timeout is the total time to wait for a result from an action / service that can be over the course of multiple BT node ticks that were preempted by the BT loop duration's increments

from navigation2.

AndyZe avatar AndyZe commented on May 30, 2024

OK, thanks. Not completely clear from looking at bt_service_node.hpp but I can't think of a way to make it better.

from navigation2.

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.