Coder Social home page Coder Social logo

fmrico / cascade_lifecycle Goto Github PK

View Code? Open in Web Editor NEW
68.0 68.0 9.0 95 KB

Managed nodes (or lifecycle nodes, LN) package provides a mechanism to create LifecycleNode activation trees

License: Apache License 2.0

CMake 1.18% C++ 69.57% Python 29.25%

cascade_lifecycle's People

Contributors

fmrico avatar juancams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cascade_lifecycle's Issues

intraprocess communication

Hi and thanks for this package.

I these days I'm trying to use it on a project constituted by composable (lifecycle) node using intraprocess communication.
Trying to launch it I get this error:

[control_container]: Component constructor threw an exception: intraprocess communication is not allowed with keep all history qos policy

In your opinion is it possible to change this part

activations_pub_ = create_publisher<cascade_lifecycle_msgs::msg::Activation>(
"/cascade_lifecycle_activations",
rclcpp::QoS(1000).keep_all().transient_local().reliable());
states_pub_ = create_publisher<cascade_lifecycle_msgs::msg::State>(
"/cascade_lifecycle_states", rclcpp::QoS(5).keep_last(5).transient_local().reliable());
activations_sub_ = create_subscription<cascade_lifecycle_msgs::msg::Activation>(
"/cascade_lifecycle_activations",
rclcpp::QoS(1000).keep_all().transient_local().reliable(),
std::bind(&CascadeLifecycleNode::activations_callback, this, _1));
states_sub_ = create_subscription<cascade_lifecycle_msgs::msg::State>(
"/cascade_lifecycle_states",
rclcpp::QoS(100).keep_last(100).transient_local().reliable(),
std::bind(&CascadeLifecycleNode::states_callback, this, _1));

checking if the intraprocess communication is it used or not with a simple:

if(options.use_intra_process_comms())
{
     activations_pub_ = create_publisher<cascade_lifecycle_msgs::msg::Activation>(
     "/cascade_lifecycle_activations",
     rclcpp::QoS(1000));
     ...
}
else
{
     activations_pub_ = create_publisher<cascade_lifecycle_msgs::msg::Activation>(
    "/cascade_lifecycle_activations",
    rclcpp::QoS(1000).keep_all().transient_local().reliable());
    ...
}

or do you see some drawback ?

Thanks in advance
Alessio

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.