ros2nodl package from nodl repo

nodl_python ros2nodl

Package Summary

Tags No category tags.
Version 0.1.0
License GPLv3
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ubuntu-robotics/nodl.git
VCS Type git
VCS Version master
Last Updated 2020-08-11
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Package Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

CLI tools for NoDL files.

Additional Links

No additional links.

Maintainers

  • Ubuntu Robotics

Authors

No additional authors.

ros2nodl

License Test NoDL

The source code for the NoDL command line tools for ROS 2.

Usage

available verbs for ros2 nodl:

  • show
  • validate

Run ros2 nodl --help to see all available commands

Run ros2 nodl <verb> --help to see individual verb usage

show

Pretty-print NoDL information for given executable(s)

usage: ros2 nodl show [-h] package_name [executable [executable ...]]

Show NoDL data

positional arguments:
  package_name  Name of the package to show.
  executable    Specific Executable to display.

optional arguments:
  -h, --help    show this help message and exit

Example

Show the NoDL data for publisher_lambda in examples_rclcpp_minimal_publisher:

$ ros2 nodl show examples_rclcpp_minimal_publisher publisher_lambda
{'actions': [],
 'executable': 'publisher_lambda',
 'name': 'minimal_publisher',
 'parameters': [],
 'services': [],
 'topics': [{'name': 'topic',
             'publisher': True,
             'subscription': False,
             'type': 'std_msgs/msg/String'}]}

validate

Validate a .nodl.xml file against the schema and attempt to parse it

usage: ros2 nodl validate [-h] [-p] [file [file ...]]

Validate NoDL XML documents

positional arguments:
  file         Specific .nodl.xml file(s) to validate.

optional arguments:
  -h, --help   show this help message and exit
  -p, --print  Print parsed output.

Example

Validate a file publisher.nodl.xml

$ ros2 nodl validate publisher.nodl.xml
Validating publisher.nodl.xml...
  Success
All files validated

CHANGELOG

Changelog for package ros2nodl

0.1.0 (2020-05-28)

  • Initial release
  • Add show and validate verbs
  • Contributors: Ted Kern

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2nodl at answers.ros.org