Git Product home page Git Product logo

Comments (3)

alsora avatar alsora commented on July 19, 2024 1

+1 on changing names.
People not familiar with ROS are often scaried by the term "spin" which in some context indicates a busy loop where you never sleep and keep polling for events https://en.wikipedia.org/wiki/Busy_waiting

from rclcpp.

clalancette avatar clalancette commented on July 19, 2024 1

I have a couple of different thoughts about this:

  1. The execute_ nomenclature isn't really correct either. The functions here don't necessarily execute anything. They wait for events to happen, and then based on what kind of event it is (and which variant is called), react to those events.
  2. A deprecation like this is going to be very painful. These functions are used absolutely everywhere, all of which will have to be updated. That doesn't mean we shouldn't do it, but whoever decides to take it on will have a long road ahead of them.

One other thing that I think we should consider here is whether we can actually remove some of these variants. Things like spin_once have extremely surprising semantics unless you are well-versed in how executors work. We could also consider whether some of the other variants can be removed (or combined). I'm not sure whether that would be possible, but I think that would go a long way towards making this easier to understand.

from rclcpp.

fujitatomoya avatar fujitatomoya commented on July 19, 2024

@jmachowinski thanks for posting the proposal.

I am not necessarily against changing names, but i would check the doc even with proposed names are provided. lets see more feedbacks on this!

from rclcpp.

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.