Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

irobot/master-events-executor features #87

Open
wants to merge 23 commits into
base: irobot/master-events-executor
Choose a base branch
from

Commits on Feb 9, 2022

  1. Use spin() in component_manager_isolated.hpp (ros2#1881)

    * replace spin_until_future_complete with spin in component_manager_isolated.hpp
    
    spin_until_future_complete() is more inefficient as it needs to check the state of the future and the timeout after every work iteration
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * fix uncrustify error
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    alsora authored Feb 9, 2022
    Configuration menu
    Copy the full SHA
    43db06d View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. fix one subscription can wait_for_message twice (ros2#1870)

    Signed-off-by: Chen Lihui <lihui.chen@sony.com>
    Chen Lihui authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    891fff0 View commit details
    Browse the repository at this point in the history
  2. use universal reference to support rvalue. (ros2#1883)

    * use universal reference to support rvalue.
    
    Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
    fujitatomoya authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    4c8cfa3 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Use ament_generate_version_header (ros2#1886)

    Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
    sloretz authored Feb 15, 2022
    Configuration menu
    Copy the full SHA
    025cd5c View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Install headers to include/${PROJECT_NAME} (ros2#1888)

    * initial attempt, problems with ament_gen_version_h
    
    Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
    
    * remove blank line
    
    Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
    sloretz authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    4f77819 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2022

  1. small improvements to node_main.cpp.in

    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    alsora committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    32c03dd View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Remove fastrtps customization on tests (ros2#1887)

    Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
    MiguelCompany authored Feb 22, 2022
    Configuration menu
    Copy the full SHA
    c5a16dc View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Support action expire timers with callbacks approach

    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    Mauro Passerino committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    558e9bc View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Add RMW listener APIs (ros2#1579)

    * Add RMW listener APIs
    
    Signed-off-by: Alberto Soragna <asoragna@irobot.com>
    
    * split long log into two lines
    
    Signed-off-by: Alberto Soragna <asoragna@irobot.com>
    
    * Remove use_previous_event
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * Do not set gc listener callback
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * significant refactor to make callbacks type safe
    
    Signed-off-by: William Woodall <william@osrfoundation.org>
    
    * Add on_ready callback to waitables, add clear_* functions, add unit-tests
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * add mutex to set and clear listener APIs
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * allow to set ipc sub callback from regular subscription
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * fix minor failures
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * fix typos and errors in comments
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * fix comments
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * expose qos listener APIs from pub and sub; add unit-tests
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * add qos event unit-test for invalid callbacks
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * Use QoS depth to limit callbacks count
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * fix ipc-subscription
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * Rename CallbackMessageT -> ROSMessageType
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * Set callbacks to Actions
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * changes from upstream
    
    Signed-off-by: William Woodall <william@osrfoundation.org>
    
    * Unset callback on entities destruction
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * fix rebase errors
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * fix unit-tests
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * Add GuardCondition on trigger callback
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * Add tests for new GuardCondition APIs
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * Fix windows CI
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * Action unset callbacks only if were set
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    
    * add missing include rcl event callback include directive
    
    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    
    * typos
    
    Signed-off-by: William Woodall <william@osrfoundation.org>
    
    * remove listener reference
    
    Signed-off-by: William Woodall <william@osrfoundation.org>
    
    * remove references to listener and move a method closer to impl
    
    Signed-off-by: William Woodall <william@osrfoundation.org>
    
    * cpplint
    
    Signed-off-by: William Woodall <william@osrfoundation.org>
    
    * Fix qos history check in subscription_intra_process.hpp
    
    Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
    Co-authored-by: William Woodall <william@osrfoundation.org>
    Co-authored-by: Alberto Soragna <alberto.soragna@gmail.com>
    4 people authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    d8e1aed View commit details
    Browse the repository at this point in the history
  2. Merge stuff

    Mauro Passerino committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    68ccdd4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ros2#1889 from ros2/asoragna/improve-components-main

    small improvements to node_main.cpp.in
    alsora authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    9c5ad79 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. spin_all with a zero timeout. (ros2#1878)

    * spin_all with a zero timeout.
    
    Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
    fujitatomoya authored Feb 25, 2022
    Configuration menu
    Copy the full SHA
    79241a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Merge branch 'master' into mauro/master-events-executor-expire-goal-m…

    …erge-master
    Mauro Passerino committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    7b7f23a View commit details
    Browse the repository at this point in the history
  2. time_until_trigger returns max time if timer is cancelled

    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    Mauro Passerino committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    e820c3c View commit details
    Browse the repository at this point in the history
  3. Add test for timer time_until_trigger api

    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    Mauro Passerino committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    360d853 View commit details
    Browse the repository at this point in the history
  4. create timer as part as server base

    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    Mauro Passerino committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    76a6dfe View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. Changelog.

    Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
    clalancette committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    4e3c6be View commit details
    Browse the repository at this point in the history
  2. 15.1.0

    clalancette committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    16914e3 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. fix bugprone-exception-escape in node_main.cpp.in (ros2#1895)

    Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
    alsora authored Mar 8, 2022
    Configuration menu
    Copy the full SHA
    f2f7ffd View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Micro-optimizations in rclcpp (ros2#1896)

    * Use a single call to collect all CallbackGroup pointers.
    
    Believe it or not, the taking and releasing of mutex_ within
    the CallbackGroup class shows up in profiles.  However, when
    collecting entities we really don't need to take it and drop
    it between each of subscriptions, services, clients, timers,
    and waitables.  Just take it once at the beginning, collect
    everything, and then return, which removes a lot of unnecessary
    work with that mutex.
    
    Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
    
    * Pass shared_ptr as constref in the MemoryStrategy class.
    
    That way, in the case that the callee doesn't need to take
    a reference, we avoid creating and destroying a shared_ptr
    class.  This reduces the overhead in using these functions,
    and seems to work fine in the default case.  If a user wants
    to subclass the MemoryStrategy class, then they can explicitly
    create a shared_ptr copy by using the copy constructor.
    
    Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
    
    * Use constref shared_ptr when iterating.
    
    Believe it or not, the creation and destruction of the
    shared_ptr class itself shows up in profiles in these loops.
    Since we don't need to hold onto a reference while iterating
    (the class is already doing that), just use constref wherever
    we can which drastically reduces the overhead.
    
    Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
    clalancette authored Mar 9, 2022
    Configuration menu
    Copy the full SHA
    3bd6900 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. time_until_trigger returns max time if timer is cancelled (ros2#1893)

    * time_until_trigger returns max time if timer is cancelled
    
    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    mauropasse authored Mar 11, 2022
    Configuration menu
    Copy the full SHA
    91f0b64 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into mauro/master-events-executor-expire-goal-m…

    …erge-master
    Mauro Passerino committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    f26f88e View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Add timers on_reset callback

    Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
    Mauro Passerino committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    c83b51b View commit details
    Browse the repository at this point in the history