Comments (6)
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.
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.
@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.
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.
@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.
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)
- IfCondition is ignored in ComposableNode if LoadComposableNodes is used HOT 5
- Is it possible to pass namespace of ComposableContainer? HOT 1
- Accessing numerical parameter causes exception
- Setting name parameter leads to duplicate nodes with same name HOT 1
- YAML-parameters won't read correctly for two or more composable nodes with non-empty root namespace HOT 2
- Get content of topic from `launch_testing_ros::WaitForTopics` HOT 6
- `WaitForTopics`: there is no way to manually trigger a topic HOT 8
- `WaitForTopics`: exit() methods should not reraise the passed-in exception HOT 1
- Component Containers on Different ROS_DOMAIN_IDs Fail to Launch HOT 1
- --ros-args argument is always present in Node HOT 1
- ComposableNodeContainer and respawn=True HOT 14
- FeatureRequest: Add type hints to launch_testing_ros examples. HOT 6
- Logger does not respect RCUTILS_CONSOLE_OUTPUT_FORMAT HOT 3
- SetParameter does not propagate into event handler callback HOT 1
- Simpler substitution for package files HOT 2
- Environment variables not set for actions inside RosTimer
- Consider providing user control of log file base names
- Support loading 'arbitrary' YAML files (perhaps just from the XML/YAML front-ends?) HOT 1
- Error when setting parameter with list of strings via substitution HOT 3
- String parameter with digits and `E` or `e` (e.g. "123E5") is always interpreted as double HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from launch_ros.