Package Summary

Tags No category tags.
Version 0.20.5
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version humble
Last Updated 2025-05-08
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Audrow Nash
  • Michael Jeronimo

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas
README
No README found. No README in repository either.
CHANGELOG

Changelog for package demo_nodes_py

0.20.5 (2024-07-26)

0.20.4 (2024-05-15)

0.20.3 (2023-01-10)

0.20.2 (2022-05-10)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

  • Cleanups in demo_nodes_py. (#555)
  • Contributors: Chris Lalancette

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

  • Update maintainers to Audrow Nash and Michael Jeronimo (#543)
  • Fixed typo executor -> executors (#542)
  • Update python nodes SIGINT handling (#539)
  • Contributors: Audrow Nash, Ivan Santiago Paunovic, ori155

0.17.0 (2021-10-18)

0.16.0 (2021-08-11)

0.15.0 (2021-05-14)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update deprecated qos policy value names (#468)
  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Ivan Santiago Paunovic, Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

  • more verbose test_flake8 error messages (same as ros2/launch_ros#135)
  • Contributors: Dirk Thomas

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Prevent argparse from parsing ROS args in Python demo nodes. (#396)
  • Update setup.py versions
  • Contributors: Jacob Perron, Michel Hidalgo

0.8.0 (2019-09-26)

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

  • Fix reliable option for Python QoS demo

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.33.5
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version jazzy
Last Updated 2025-05-08
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Audrow Nash

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas

What Is This?

This package contains the following ROS 2 nodes:

  1. listener
  2. talker
  3. add_two_ints_client
  4. add_two_ints_server
  5. set_parameters_callback
  6. add_two_ints_client_async
  7. listener_qos
  8. talker_qos
  9. listerner_serialized
  10. async_param_client

Build

Run this command to build the package:

colcon build --packages-select demo_nodes_py

Run

Basic Listener & Talker

This runs talker and listener ROS 2 nodes which exchange the following string with incremeting integer:

Hello World:

# Open new terminal
ros2 run demo_nodes_py talker

# Open new terminal
ros2 run demo_nodes_py listener

Server & Client

This runs add_two_ints_client and add_two_ints_server ROS 2 client and server where the server processes two integers sent from the client and publishes its sum to the client to be printed out.

Server

# Open new terminal
ros2 run demo_nodes_py add_two_ints_server

Client [Synchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client

Client [Asynchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client_async

QoS Listener & Talker

Similar to previous, this runs talker_qos and listener_qos ROS 2 nodes which exchange messages using the Quality of Service (QoS) best effort policy.

# Open new terminal
ros2 run demo_nodes_py talker_qos

# Open new terminal
ros2 run demo_nodes_py listener_qos

Set Parameters Callback

This runs set_parameters_callback ROS 2 node which triggers a callback when ROS 2 double parameter param1 is set. The callback then sets ROS 2 double parameter param2 to a fixed 4.0:

# Open new terminal
ros2 run demo_nodes_py set_parameters_callback

Asynchronous Parameter Client

This runs async_param_client ROS 2 node which demonstrates how to set, list, get, load and delete parameters from the parameter blackboard in an asynchronous manner:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package demo_nodes_py

0.33.5 (2024-09-06)

0.33.4 (2024-06-27)

0.33.3 (2024-05-13)

0.33.2 (2024-03-28)

  • Update maintainer list in package.xml files (#665)
  • Contributors: Michael Jeronimo

0.33.1 (2024-02-07)

0.33.0 (2024-01-24)

0.32.1 (2023-12-26)

0.32.0 (2023-11-06)

0.31.1 (2023-09-07)

0.31.0 (2023-08-21)

0.30.1 (2023-07-11)

0.30.0 (2023-06-12)

  • Change the service introspection parameter off value to 'disabled' (#634) With this we can avoid the tricky bits around YAML interpretation of 'off' as a boolean.
  • Contributors: Chris Lalancette

0.29.0 (2023-06-07)

  • Add demos for using logger service (#611)
  • Contributors: Barry Xu

0.28.1 (2023-05-11)

0.28.0 (2023-04-27)

0.27.0 (2023-04-13)

  • Change all ROS2 -> ROS 2. (#610)
  • Add matched event demo for rclcpp and rclpy (#607)
  • Contributors: Barry Xu, Chris Lalancette

0.26.0 (2023-04-11)

  • Enable document generation using rosdoc2 (#606)
  • Contributors: Yadu

0.25.0 (2023-03-01)

  • Service introspection (#602)
  • Contributors: Chris Lalancette

0.24.1 (2023-02-24)

0.24.0 (2023-02-14)

  • Added README.md for demo_nodes_py (#600)
  • [rolling] Update maintainers - 2022-11-07 (#589)
  • Contributors: Audrow Nash, Gary Bey

0.23.0 (2022-11-02)

  • Demo for pre and post set parameter callback support (#565)
  • Contributors: Deepanshu Bansal

0.22.0 (2022-09-13)

  • Add demo for rclpy parameter client (#566)
  • Exit with code 0 if ExternalShutdownException is raised (#581)
  • Contributors: Brian, Jacob Perron

0.21.0 (2022-04-29)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

  • Cleanups in demo_nodes_py. (#555)
  • Contributors: Chris Lalancette

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.36.1
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version kilted
Last Updated 2025-07-10
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Audrow Nash

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas

What Is This?

This package contains the following ROS 2 nodes:

  1. listener
  2. talker
  3. add_two_ints_client
  4. add_two_ints_server
  5. set_parameters_callback
  6. add_two_ints_client_async
  7. listener_qos
  8. talker_qos
  9. listerner_serialized
  10. async_param_client

Build

Run this command to build the package:

colcon build --packages-select demo_nodes_py

Run

Basic Listener & Talker

This runs talker and listener ROS 2 nodes which exchange the following string with incremeting integer:

Hello World:

# Open new terminal
ros2 run demo_nodes_py talker

# Open new terminal
ros2 run demo_nodes_py listener

Server & Client

This runs add_two_ints_client and add_two_ints_server ROS 2 client and server where the server processes two integers sent from the client and publishes its sum to the client to be printed out.

Server

# Open new terminal
ros2 run demo_nodes_py add_two_ints_server

Client [Synchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client

Client [Asynchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client_async

QoS Listener & Talker

Similar to previous, this runs talker_qos and listener_qos ROS 2 nodes which exchange messages using the Quality of Service (QoS) best effort policy.

# Open new terminal
ros2 run demo_nodes_py talker_qos

# Open new terminal
ros2 run demo_nodes_py listener_qos

Set Parameters Callback

This runs set_parameters_callback ROS 2 node which triggers a callback when ROS 2 double parameter param1 is set. The callback then sets ROS 2 double parameter param2 to a fixed 4.0:

# Open new terminal
ros2 run demo_nodes_py set_parameters_callback

Asynchronous Parameter Client

This runs async_param_client ROS 2 node which demonstrates how to set, list, get, load and delete parameters from the parameter blackboard in an asynchronous manner:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package demo_nodes_py

0.36.1 (2025-06-23)

0.36.0 (2025-04-25)

  • Revert "Revert "fix loading parameter behavior from yaml file. (#656)" (#660)" (#661)
  • Contributors: Tomoya Fujita

0.35.1 (2024-11-20)

  • Add test_xmllint.py to all of the ament_python packages. (#704)
  • Contributors: Chris Lalancette

0.35.0 (2024-10-03)

0.34.2 (2024-07-29)

  • Change all of the demos to use the new rclpy context manager. (#694)
  • Contributors: Chris Lalancette

0.34.1 (2024-06-17)

0.34.0 (2024-04-26)

0.33.2 (2024-03-28)

  • Update maintainer list in package.xml files (#665)
  • Contributors: Michael Jeronimo

0.33.1 (2024-02-07)

0.33.0 (2024-01-24)

0.32.1 (2023-12-26)

0.32.0 (2023-11-06)

0.31.1 (2023-09-07)

0.31.0 (2023-08-21)

0.30.1 (2023-07-11)

0.30.0 (2023-06-12)

  • Change the service introspection parameter off value to 'disabled' (#634) With this we can avoid the tricky bits around YAML interpretation of 'off' as a boolean.
  • Contributors: Chris Lalancette

0.29.0 (2023-06-07)

  • Add demos for using logger service (#611)
  • Contributors: Barry Xu

0.28.1 (2023-05-11)

0.28.0 (2023-04-27)

0.27.0 (2023-04-13)

  • Change all ROS2 -> ROS 2. (#610)
  • Add matched event demo for rclcpp and rclpy (#607)
  • Contributors: Barry Xu, Chris Lalancette

0.26.0 (2023-04-11)

  • Enable document generation using rosdoc2 (#606)
  • Contributors: Yadu

0.25.0 (2023-03-01)

  • Service introspection (#602)
  • Contributors: Chris Lalancette

0.24.1 (2023-02-24)

0.24.0 (2023-02-14)

  • Added README.md for demo_nodes_py (#600)
  • [rolling] Update maintainers - 2022-11-07 (#589)
  • Contributors: Audrow Nash, Gary Bey

0.23.0 (2022-11-02)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.37.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version rolling
Last Updated 2025-07-29
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Audrow Nash

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas

What Is This?

This package contains the following ROS 2 nodes:

  1. listener
  2. talker
  3. add_two_ints_client
  4. add_two_ints_server
  5. set_parameters_callback
  6. add_two_ints_client_async
  7. listener_qos
  8. talker_qos
  9. listerner_serialized
  10. async_param_client

Build

Run this command to build the package:

colcon build --packages-select demo_nodes_py

Run

Basic Listener & Talker

This runs talker and listener ROS 2 nodes which exchange the following string with incremeting integer:

Hello World:

# Open new terminal
ros2 run demo_nodes_py talker

# Open new terminal
ros2 run demo_nodes_py listener

Server & Client

This runs add_two_ints_client and add_two_ints_server ROS 2 client and server where the server processes two integers sent from the client and publishes its sum to the client to be printed out.

Server

# Open new terminal
ros2 run demo_nodes_py add_two_ints_server

Client [Synchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client

Client [Asynchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client_async

QoS Listener & Talker

Similar to previous, this runs talker_qos and listener_qos ROS 2 nodes which exchange messages using the Quality of Service (QoS) best effort policy.

# Open new terminal
ros2 run demo_nodes_py talker_qos

# Open new terminal
ros2 run demo_nodes_py listener_qos

Set Parameters Callback

This runs set_parameters_callback ROS 2 node which triggers a callback when ROS 2 double parameter param1 is set. The callback then sets ROS 2 double parameter param2 to a fixed 4.0:

# Open new terminal
ros2 run demo_nodes_py set_parameters_callback

Asynchronous Parameter Client

This runs async_param_client ROS 2 node which demonstrates how to set, list, get, load and delete parameters from the parameter blackboard in an asynchronous manner:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package demo_nodes_py

0.37.2 (2025-07-29)

  • fix setuptools deprecations (#733)
  • Contributors: mosfet80

0.37.1 (2025-06-23)

0.37.0 (2025-04-25)

0.36.0 (2025-04-25)

  • Revert "Revert "fix loading parameter behavior from yaml file. (#656)" (#660)" (#661)
  • Contributors: Tomoya Fujita

0.35.1 (2024-11-20)

  • Add test_xmllint.py to all of the ament_python packages. (#704)
  • Contributors: Chris Lalancette

0.35.0 (2024-10-03)

0.34.2 (2024-07-29)

  • Change all of the demos to use the new rclpy context manager. (#694)
  • Contributors: Chris Lalancette

0.34.1 (2024-06-17)

0.34.0 (2024-04-26)

0.33.2 (2024-03-28)

  • Update maintainer list in package.xml files (#665)
  • Contributors: Michael Jeronimo

0.33.1 (2024-02-07)

0.33.0 (2024-01-24)

0.32.1 (2023-12-26)

0.32.0 (2023-11-06)

0.31.1 (2023-09-07)

0.31.0 (2023-08-21)

0.30.1 (2023-07-11)

0.30.0 (2023-06-12)

  • Change the service introspection parameter off value to 'disabled' (#634) With this we can avoid the tricky bits around YAML interpretation of 'off' as a boolean.
  • Contributors: Chris Lalancette

0.29.0 (2023-06-07)

  • Add demos for using logger service (#611)
  • Contributors: Barry Xu

0.28.1 (2023-05-11)

0.28.0 (2023-04-27)

0.27.0 (2023-04-13)

  • Change all ROS2 -> ROS 2. (#610)
  • Add matched event demo for rclcpp and rclpy (#607)
  • Contributors: Barry Xu, Chris Lalancette

0.26.0 (2023-04-11)

  • Enable document generation using rosdoc2 (#606)
  • Contributors: Yadu

0.25.0 (2023-03-01)

  • Service introspection (#602)
  • Contributors: Chris Lalancette

0.24.1 (2023-02-24)

0.24.0 (2023-02-14)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.34.0
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Observational Citizen Science of Earths atmosphere and beyond.
Checkout URI https://github.com/sky360-repository/sky360.git
VCS Type git
VCS Version main
Last Updated 2024-06-30
Dev Status UNKNOWN
Released UNRELEASED
Tags docker nix robotics astronomy ufo ros2
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Audrow Nash

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas

What Is This?

This package contains the following ROS 2 nodes:

  1. listener
  2. talker
  3. add_two_ints_client
  4. add_two_ints_server
  5. set_parameters_callback
  6. add_two_ints_client_async
  7. listener_qos
  8. talker_qos
  9. listerner_serialized
  10. async_param_client

Build

Run this command to build the package:

colcon build --packages-select demo_nodes_py

Run

Basic Listener & Talker

This runs talker and listener ROS 2 nodes which exchange the following string with incremeting integer:

PUBLISHER sending Heartbeat messages:

# Open new terminal
ros2 run demo_nodes_py talker

# Open new terminal
ros2 run demo_nodes_py listener

Server & Client

This runs add_two_ints_client and add_two_ints_server ROS 2 client and server where the server processes two integers sent from the client and publishes its sum to the client to be printed out.

Server

# Open new terminal
ros2 run demo_nodes_py add_two_ints_server

Client [Synchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client

Client [Asynchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client_async

QoS Listener & Talker

Similar to previous, this runs talker_qos and listener_qos ROS 2 nodes which exchange messages using the Quality of Service (QoS) best effort policy.

# Open new terminal
ros2 run demo_nodes_py talker_qos

# Open new terminal
ros2 run demo_nodes_py listener_qos

Set Parameters Callback

This runs set_parameters_callback ROS 2 node which triggers a callback when ROS 2 double parameter param1 is set. The callback then sets ROS 2 double parameter param2 to a fixed 4.0:

# Open new terminal
ros2 run demo_nodes_py set_parameters_callback

Asynchronous Parameter Client

This runs async_param_client ROS 2 node which demonstrates how to set, list, get, load and delete parameters from the parameter blackboard in an asynchronous manner:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package demo_nodes_py

0.34.0 (2024-04-26)

0.33.2 (2024-03-28)

  • Update maintainer list in package.xml files (#665)
  • Contributors: Michael Jeronimo

0.33.1 (2024-02-07)

0.33.0 (2024-01-24)

0.32.1 (2023-12-26)

0.32.0 (2023-11-06)

0.31.1 (2023-09-07)

0.31.0 (2023-08-21)

0.30.1 (2023-07-11)

0.30.0 (2023-06-12)

  • Change the service introspection parameter off value to 'disabled' (#634) With this we can avoid the tricky bits around YAML interpretation of 'off' as a boolean.
  • Contributors: Chris Lalancette

0.29.0 (2023-06-07)

  • Add demos for using logger service (#611)
  • Contributors: Barry Xu

0.28.1 (2023-05-11)

0.28.0 (2023-04-27)

0.27.0 (2023-04-13)

  • Change all ROS2 -> ROS 2. (#610)
  • Add matched event demo for rclcpp and rclpy (#607)
  • Contributors: Barry Xu, Chris Lalancette

0.26.0 (2023-04-11)

  • Enable document generation using rosdoc2 (#606)
  • Contributors: Yadu

0.25.0 (2023-03-01)

  • Service introspection (#602)
  • Contributors: Chris Lalancette

0.24.1 (2023-02-24)

0.24.0 (2023-02-14)

  • Added README.md for demo_nodes_py (#600)
  • [rolling] Update maintainers - 2022-11-07 (#589)
  • Contributors: Audrow Nash, Gary Bey

0.23.0 (2022-11-02)

  • Demo for pre and post set parameter callback support (#565)
  • Contributors: Deepanshu Bansal

0.22.0 (2022-09-13)

  • Add demo for rclpy parameter client (#566)
  • Exit with code 0 if ExternalShutdownException is raised (#581)
  • Contributors: Brian, Jacob Perron

0.21.0 (2022-04-29)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

  • Cleanups in demo_nodes_py. (#555)
  • Contributors: Chris Lalancette

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

File truncated at 100 lines see the full file

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.14.4
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version galactic
Last Updated 2022-12-07
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Mabel Zhang
  • Michael Jeronimo

Authors

  • Mikael Arguedas
  • Esteve Fernandez
  • Michael Carroll
README
No README found. No README in repository either.
CHANGELOG

Changelog for package demo_nodes_py

0.14.4 (2022-12-06)

0.14.3 (2021-05-10)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update deprecated qos policy value names (#468)
  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Ivan Santiago Paunovic, Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

  • more verbose test_flake8 error messages (same as ros2/launch_ros#135)
  • Contributors: Dirk Thomas

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Prevent argparse from parsing ROS args in Python demo nodes. (#396)
  • Update setup.py versions
  • Contributors: Jacob Perron, Michel Hidalgo

0.8.0 (2019-09-26)

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

  • Fix reliable option for Python QoS demo (#352)
  • Contributors: Jacob Perron

0.7.4 (2019-05-20)

  • Fix deprecation warnings (#334)
  • Contributors: Jacob Perron

0.7.3 (2019-05-10)

0.7.2 (2019-05-08)

0.7.1 (2019-04-26)

0.7.0 (2019-04-14)

0.6.2 (2019-01-15)

  • Added serialized listener demo for python (#287)
  • Contributors: Joseph Duchesne

0.6.1 (2018-12-13)

0.6.0 (2018-12-07)

  • Updated package maintainer. (#286)
  • Removed now redundant args=sys.argv

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.27.2
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version iron
Last Updated 2024-07-11
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Audrow Nash
  • Michael Jeronimo

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas

What Is This?

This package contains the following ROS 2 nodes:

  1. listener
  2. talker
  3. add_two_ints_client
  4. add_two_ints_server
  5. set_parameters_callback
  6. add_two_ints_client_async
  7. listener_qos
  8. talker_qos
  9. listerner_serialized
  10. async_param_client

Build

Run this command to build the package:

colcon build --packages-select demo_nodes_py

Run

Basic Listener & Talker

This runs talker and listener ROS 2 nodes which exchange the following string with incremeting integer:

Hello World:

# Open new terminal
ros2 run demo_nodes_py talker

# Open new terminal
ros2 run demo_nodes_py listener

Server & Client

This runs add_two_ints_client and add_two_ints_server ROS 2 client and server where the server processes two integers sent from the client and publishes its sum to the client to be printed out.

Server

# Open new terminal
ros2 run demo_nodes_py add_two_ints_server

Client [Synchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client

Client [Asynchronous]

# Open new terminal
ros2 run demo_nodes_py add_two_ints_client_async

QoS Listener & Talker

Similar to previous, this runs talker_qos and listener_qos ROS 2 nodes which exchange messages using the Quality of Service (QoS) best effort policy.

# Open new terminal
ros2 run demo_nodes_py talker_qos

# Open new terminal
ros2 run demo_nodes_py listener_qos

Set Parameters Callback

This runs set_parameters_callback ROS 2 node which triggers a callback when ROS 2 double parameter param1 is set. The callback then sets ROS 2 double parameter param2 to a fixed 4.0:

# Open new terminal
ros2 run demo_nodes_py set_parameters_callback

Asynchronous Parameter Client

This runs async_param_client ROS 2 node which demonstrates how to set, list, get, load and delete parameters from the parameter blackboard in an asynchronous manner:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package demo_nodes_py

0.27.2 (2024-07-10)

0.27.1 (2023-05-11)

0.27.0 (2023-04-13)

  • Change all ROS2 -> ROS 2. (#610)
  • Add matched event demo for rclcpp and rclpy (#607)
  • Contributors: Barry Xu, Chris Lalancette

0.26.0 (2023-04-11)

  • Enable document generation using rosdoc2 (#606)
  • Contributors: Yadu

0.25.0 (2023-03-01)

  • Service introspection (#602)
  • Contributors: Chris Lalancette

0.24.1 (2023-02-24)

0.24.0 (2023-02-14)

  • Added README.md for demo_nodes_py (#600)
  • [rolling] Update maintainers - 2022-11-07 (#589)
  • Contributors: Audrow Nash, Gary Bey

0.23.0 (2022-11-02)

  • Demo for pre and post set parameter callback support (#565)
  • Contributors: Deepanshu Bansal

0.22.0 (2022-09-13)

  • Add demo for rclpy parameter client (#566)
  • Exit with code 0 if ExternalShutdownException is raised (#581)
  • Contributors: Brian, Jacob Perron

0.21.0 (2022-04-29)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

  • Cleanups in demo_nodes_py. (#555)
  • Contributors: Chris Lalancette

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

  • Update maintainers to Audrow Nash and Michael Jeronimo (#543)
  • Fixed typo executor -> executors (#542)
  • Update python nodes SIGINT handling (#539)
  • Contributors: Audrow Nash, Ivan Santiago Paunovic, ori155

0.17.0 (2021-10-18)

0.16.0 (2021-08-11)

0.15.0 (2021-05-14)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update deprecated qos policy value names (#468)
  • Update the package.xml files with the latest Open Robotics maintainers (#466)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.20.5
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version humble
Last Updated 2025-05-08
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Audrow Nash
  • Michael Jeronimo

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas
README
No README found. No README in repository either.
CHANGELOG

Changelog for package demo_nodes_py

0.20.5 (2024-07-26)

0.20.4 (2024-05-15)

0.20.3 (2023-01-10)

0.20.2 (2022-05-10)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

  • Cleanups in demo_nodes_py. (#555)
  • Contributors: Chris Lalancette

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

  • Update maintainers to Audrow Nash and Michael Jeronimo (#543)
  • Fixed typo executor -> executors (#542)
  • Update python nodes SIGINT handling (#539)
  • Contributors: Audrow Nash, Ivan Santiago Paunovic, ori155

0.17.0 (2021-10-18)

0.16.0 (2021-08-11)

0.15.0 (2021-05-14)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update deprecated qos policy value names (#468)
  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Ivan Santiago Paunovic, Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

  • more verbose test_flake8 error messages (same as ros2/launch_ros#135)
  • Contributors: Dirk Thomas

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Prevent argparse from parsing ROS args in Python demo nodes. (#396)
  • Update setup.py versions
  • Contributors: Jacob Perron, Michel Hidalgo

0.8.0 (2019-09-26)

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

  • Fix reliable option for Python QoS demo

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange

No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.20.5
License Apache License 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros2/demos.git
VCS Type git
VCS Version humble
Last Updated 2025-05-08
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.

Additional Links

No additional links.

Maintainers

  • Audrow Nash
  • Michael Jeronimo

Authors

  • Esteve Fernandez
  • Mabel Zhang
  • Michael Carroll
  • Mikael Arguedas
README
No README found. No README in repository either.
CHANGELOG

Changelog for package demo_nodes_py

0.20.5 (2024-07-26)

0.20.4 (2024-05-15)

0.20.3 (2023-01-10)

0.20.2 (2022-05-10)

0.20.1 (2022-04-08)

0.20.0 (2022-03-01)

  • Cleanups in demo_nodes_py. (#555)
  • Contributors: Chris Lalancette

0.19.0 (2022-01-14)

0.18.0 (2021-12-17)

  • Update maintainers to Audrow Nash and Michael Jeronimo (#543)
  • Fixed typo executor -> executors (#542)
  • Update python nodes SIGINT handling (#539)
  • Contributors: Audrow Nash, Ivan Santiago Paunovic, ori155

0.17.0 (2021-10-18)

0.16.0 (2021-08-11)

0.15.0 (2021-05-14)

0.14.2 (2021-04-26)

0.14.1 (2021-04-19)

  • Use underscores instead of dashes in setup.cfg (#502)
  • Contributors: Ivan Santiago Paunovic

0.14.0 (2021-04-06)

0.13.0 (2021-03-25)

0.12.1 (2021-03-18)

0.12.0 (2021-01-25)

0.11.0 (2020-12-10)

  • Update deprecated qos policy value names (#468)
  • Update the package.xml files with the latest Open Robotics maintainers (#466)
  • Contributors: Ivan Santiago Paunovic, Michael Jeronimo

0.10.1 (2020-09-21)

0.10.0 (2020-06-17)

0.9.3 (2020-06-01)

0.9.2 (2020-05-26)

0.9.1 (2020-05-12)

0.9.0 (2020-04-30)

  • more verbose test_flake8 error messages (same as ros2/launch_ros#135)
  • Contributors: Dirk Thomas

0.8.4 (2019-11-19)

  • Make demos handle SIGINT gracefully. (#377)
  • Contributors: Michel Hidalgo

0.8.3 (2019-11-11)

0.8.2 (2019-11-08)

0.8.1 (2019-10-23)

  • Prevent argparse from parsing ROS args in Python demo nodes. (#396)
  • Update setup.py versions
  • Contributors: Jacob Perron, Michel Hidalgo

0.8.0 (2019-09-26)

0.7.6 (2019-05-30)

0.7.5 (2019-05-29)

  • Fix reliable option for Python QoS demo

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged demo_nodes_py at Robotics Stack Exchange