Coder Social home page Coder Social logo

Comments (5)

stonier avatar stonier commented on August 15, 2024

FYI @IanTheEngineer

from launch_ros.

wjwwood avatar wjwwood commented on August 15, 2024

https://answers.ros.org/question/316870/ros2-composition-and-node-names-with-launch-files/?answer=316925#post-id-316925

from launch_ros.

masynthetic avatar masynthetic commented on August 15, 2024

is there a workaround/fix for this? remapping the rclpy.create_node() parameter does not seem to do anything, any use of the name= parameter in the launch file seems to cause the issue

from launch_ros.

hidmic avatar hidmic commented on August 15, 2024

any use of the name= parameter in the launch file seems to cause the issue

@masynthetic launch_ros.actions.Node is not a multi-node aware action, so yes, it won't work as you intend in that case.

If you can't use components, a possible workaround is to launch your process as a plain process using launch.actions.ExecuteProcess and configure your nodes through command line arguments.

Alternatively, contributions are most welcome. A multi-node aware action proposal would be great.

from launch_ros.

jbohren avatar jbohren commented on August 15, 2024

This also brings into question the naming of the class launch_ros.actions.Node since it currently can launch a multi-node process.
@stonier

This is what brought me here.

Since even a single-node executable is an executable which owns a node and not the node itself, it feels like launch_ros.actions.Node is a misnomer and could lead to confusion and unexpected behavior. Something like ExecuteSingleNodeProcess would definitely reduce the likelihood of that occurring.

Also is it weird that some actions are written as imperative statements while others are noun phrases?

from launch_ros.

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.