Coder Social home page Coder Social logo

Comments (6)

deitry avatar deitry commented on August 15, 2024 2

This is what I get as help tooltip in my IDE (VS Code):

class LifecycleNode(node_name: Text, package: SomeSubstitutionsType, node_executable: SomeSubstitutionsType, node_namespace: Optional[SomeSubstitutionsType]=None, parameters: Optional[SomeParameters]=None, remappings: Optional[SomeRemapRules]=None, arguments: Optional[Iterable[SomeSubstitutionsType]]=None, name: Optional[SomeSubstitutionsType]=None, cwd: Optional[SomeSubstitutionsType]=None, env: Optional[Dict[SomeSubstitutionsType, SomeSubstitutionsType]]=None, additional_env: Optional[Dict[SomeSubstitutionsType, SomeSubstitutionsType]]=None, shell: bool=False, sigterm_timeout: SomeSubstitutionsType=LaunchConfiguration(
            'sigterm_timeout', default=5), sigkill_timeout: SomeSubstitutionsType=LaunchConfiguration(
            'sigkill_timeout', default=5), prefix: Optional[SomeSubstitutionsType]=None, output: Text='log', output_format: Text='[{this.name}] {line}', log_cmd: bool=False, on_exit: Optional[Union[
            SomeActionsType,
            Callable[[ProcessExited, LaunchContext], Optional[SomeActionsType]]
        ]]=None, condition: Optional[Condition]=None)
Action that executes a ROS lifecycle node.

As ROS2 user, I can't say your way is stricly better since it's easier to look at source file instead of getting through verbosity of your approach. It seems to me that both ways are not good enough to get real help from them.

I guess the real problem is lack of examples that would cover all the features of some technology like launch system - in one place. Or better - centralized feature-full documentation instead of piles of design articles, Q&A, Github issues and so on.

from launch_ros.

mabelzhang avatar mabelzhang commented on August 15, 2024 1

Thank you for the suggestions! Feel free to open a PR to improve the help message.

On a side note, we are currently actively working on a set of tutorials for ROS 2 to improve the user and developer experience. Keep an eye out :)

from launch_ros.

rotu avatar rotu commented on August 15, 2024

@mabelzhang This seems like low-hanging fruit to improve the user and developer experience. I wrote it up as a github issue so you guys could easily implement it.

from launch_ros.

dirk-thomas avatar dirk-thomas commented on August 15, 2024

This seems like low-hanging fruit to improve the user and developer experience. I wrote it up as a github issue so you guys could easily implement it.

@rotu If it can be so easily implemented please consider to create a pull request for it.

from launch_ros.

rotu avatar rotu commented on August 15, 2024

@dirk-thomas because I thought someone with more familiarity and insight into the codebase would be a better fit for this development. I.e. less likely to make dumb mistakes. It would take a maintainer as long to review the code as to code it up in the first place

from launch_ros.

rotu avatar rotu commented on August 15, 2024

ros/rosdistro#22535
I tried to start on this PR and I just don't think I can deal with this dependency hell in using a simple PIP library >.<. I'm just too frustrated with the ROS way of doing Python to fix this issue myself. :-(

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.