Package Summary

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

Repository Summary

Checkout URI https://github.com/ros2/launch_ros.git
VCS Type git
VCS Version galactic
Last Updated 2021-04-26
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

A package providing utilities for writing ROS2 enabled launch tests.

Additional Links

No additional links.

Maintainers

  • Jacob Perron
  • Michael Jeronimo

Authors

  • Pete Baughman

launch_testing_ros

Examples

talker_listener_launch_test.py

Usage:

launch_test test/examples/talker_listener_launch_test.py

This test launches the talker and listener example nodes from demo_nodes_py and interacts with them via their ROS interfaces. Remapping rules are used so that one of the tests can sit in between the talker and the listener and change the data on the fly.

test_fuzzy_data

This test gives an example of what a test that fuzzes data might look like. A ROS subscriber and publisher pair encapsulated in a DataRepublisher object changes the string "Hello World" to "Aloha World" as it travels between the talker and the listener.

test_listener_receives

This test publishes unique messages on the /chatter topic and asserts that the same messages go to the stdout of the listener node

test_talker_transmits

This test subscribes to the remapped /talker_chatter topic and makes sure the talker node also writes the data it's transmitting to stdout

CHANGELOG

Changelog for package launch_testing_ros

0.14.2 (2021-04-26)

  • Use underscores in setup.cfg instead of dashes. (#227)
  • Contributors: Mike Purvis

0.14.1 (2021-04-12)

0.14.0 (2021-04-06)

0.13.0 (2021-01-25)

0.12.0 (2020-12-08)

  • Merge pull request #183 from ros2/update-maintainers
  • Move Pete to author, per clalancette
  • Update the package.xml files with the latest Open Robotics maintainers
  • Add pytest.ini so local tests don\'t display warning (#152)
  • Contributors: Chris Lalancette, Michael Jeronimo

0.10.2 (2020-05-26)

  • Call LaunchROSTestModule with the new API. (#150)
  • Contributors: Chris Lalancette

0.10.1 (2020-05-13)

0.10.0 (2020-04-29)

  • Deprecated \'node_executable\' parameter and replace with \'executable\' (#140)
  • Avoid deprecation warning, use from_parent (#141)
  • Show error strings as part of the flake8 test (#135)
  • Remove unused \'launch\' import (#133)
  • Enable implicit ROS startup by launch_ros actions (#128)
  • Fix launch_testing_ros example (#121)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.9.4 (2019-11-19)

  • fix new linter warnings as of flake8-comprehensions 3.1.0 (#94)
  • Contributors: Dirk Thomas

0.9.3 (2019-11-13)

0.9.2 (2019-10-23)

  • Remove self.proc_output and ready_fn (#90)
  • Add support for launching nodes not in a package (#82)
  • Contributors: Michel Hidalgo, Peter Baughman

0.9.1 (2019-09-28)

  • Make launch_testing_ros examples standalone. (#80)
  • Contributors: Michel Hidalgo

0.9.0 (2019-09-25)

  • install package manifest (#71)
  • Do not import rclpy nor launch_ros at module level. (#69)
  • Unindent setup.cfg options. (#66)
  • Support launch_ros test runner in pytest (#54)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.4 (2019-05-30)

0.8.3 (2019-05-29)

0.8.2 (2019-05-20)

  • fix example test logic (#28)
  • Add custom LaunchTestRunner with ROS specific preamble (#26)
  • Fix deprecation warnings (#25)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.8.1 (2019-05-08)

  • try local import (#20)
  • Merge apex_launchtest_ros functionality into launch_testing_ros (#8)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.0 (2019-04-14)

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 launch_testing_ros at answers.ros.org

Package Summary

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

Repository Summary

Checkout URI https://github.com/ros2/launch_ros.git
VCS Type git
VCS Version foxy
Last Updated 2021-12-02
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

A package providing utilities for writing ROS2 enabled launch tests.

Additional Links

No additional links.

Maintainers

  • Jacob Perron
  • Michael Jeronimo

Authors

  • Pete Baughman

launch_testing_ros

Examples

talker_listener_launch_test.py

Usage:

launch_test test/examples/talker_listener_launch_test.py

This test launches the talker and listener example nodes from demo_nodes_py and interacts with them via their ROS interfaces. Remapping rules are used so that one of the tests can sit in between the talker and the listener and change the data on the fly.

test_fuzzy_data

This test gives an example of what a test that fuzzes data might look like. A ROS subscriber and publisher pair encapsulated in a DataRepublisher object changes the string "Hello World" to "Aloha World" as it travels between the talker and the listener.

test_listener_receives

This test publishes unique messages on the /chatter topic and asserts that the same messages go to the stdout of the listener node

test_talker_transmits

This test subscribes to the remapped /talker_chatter topic and makes sure the talker node also writes the data it's transmitting to stdout

CHANGELOG

Changelog for package launch_testing_ros

0.11.5 (2021-11-16)

0.11.4 (2021-10-05)

0.11.3 (2021-08-31)

0.11.2 (2021-04-14)

0.11.1 (2020-12-09)

0.11.0 (2020-10-28)

  • Update maintainer list for Foxy (#194)
  • Contributors: Michael Jeronimo

0.10.3 (2020-10-07)

0.10.2 (2020-05-26)

  • Call LaunchROSTestModule with the new API. (#150)
  • Contributors: Chris Lalancette

0.10.1 (2020-05-13)

0.10.0 (2020-04-29)

  • Deprecated \'node_executable\' parameter and replace with \'executable\' (#140)
  • Avoid deprecation warning, use from_parent (#141)
  • Show error strings as part of the flake8 test (#135)
  • Remove unused \'launch\' import (#133)
  • Enable implicit ROS startup by launch_ros actions (#128)
  • Fix launch_testing_ros example (#121)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.9.4 (2019-11-19)

  • fix new linter warnings as of flake8-comprehensions 3.1.0 (#94)
  • Contributors: Dirk Thomas

0.9.3 (2019-11-13)

0.9.2 (2019-10-23)

  • Remove self.proc_output and ready_fn (#90)
  • Add support for launching nodes not in a package (#82)
  • Contributors: Michel Hidalgo, Peter Baughman

0.9.1 (2019-09-28)

  • Make launch_testing_ros examples standalone. (#80)
  • Contributors: Michel Hidalgo

0.9.0 (2019-09-25)

  • install package manifest (#71)
  • Do not import rclpy nor launch_ros at module level. (#69)
  • Unindent setup.cfg options. (#66)
  • Support launch_ros test runner in pytest (#54)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.4 (2019-05-30)

0.8.3 (2019-05-29)

0.8.2 (2019-05-20)

  • fix example test logic (#28)
  • Add custom LaunchTestRunner with ROS specific preamble (#26)
  • Fix deprecation warnings (#25)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.8.1 (2019-05-08)

  • try local import (#20)
  • Merge apex_launchtest_ros functionality into launch_testing_ros (#8)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.0 (2019-04-14)

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 launch_testing_ros at answers.ros.org

Package Summary

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

Repository Summary

Checkout URI https://github.com/ros2/launch_ros.git
VCS Type git
VCS Version master
Last Updated 2021-11-29
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

A package providing utilities for writing ROS2 enabled launch tests.

Additional Links

No additional links.

Maintainers

  • Aditya Pande
  • Jacob Perron
  • Michel Hidalgo

Authors

  • Pete Baughman
  • Michael Jeronimo

launch_testing_ros

Examples

talker_listener_launch_test.py

Usage:

launch_test test/examples/talker_listener_launch_test.py

This test launches the talker and listener example nodes from demo_nodes_py and interacts with them via their ROS interfaces. Remapping rules are used so that one of the tests can sit in between the talker and the listener and change the data on the fly.

check_node_launch_test.py

Usage:

launch_test test/examples/check_node_launch_test.py

There might be situations where nodes, once launched, take some time to actually start and we need to wait for the node to start to perform some action. We can simulate this using launch.actions.TimerAction. This example shows one way to detect when a node has been launched. We delay the launch by 5 seconds, and wait for the node to start with a timeout of 8 seconds.

check_msgs_launch_test.py

Usage:

launch_test test/examples/check_msgs_launch_test.py

Consider a problem statement where you need to launch a node and check if messages are published on a particular topic. This example demonstrates how to do that, using a talker node. It uses the Event object to end the test as soon as the first message is received on the chatter topic, with a timeout of 5 seconds.

set_param_launch_test.py

Usage:

launch_test test/examples/set_param_launch_test.py

This example demonstrates how to launch a node, set a parameter in it and check if that was successful.

test_fuzzy_data

This test gives an example of what a test that fuzzes data might look like. A ROS subscriber and publisher pair encapsulated in a DataRepublisher object changes the string "Hello World" to "Aloha World" as it travels between the talker and the listener.

test_listener_receives

This test publishes unique messages on the /chatter topic and asserts that the same messages go to the stdout of the listener node

test_talker_transmits

This test subscribes to the remapped /talker_chatter topic and makes sure the talker node also writes the data it's transmitting to stdout

CHANGELOG

Changelog for package launch_testing_ros

0.16.0 (2021-11-29)

  • Update maintainers in setup.py (#287)
  • Move pytest entrypoints to own module (#278)
  • Update package maintainers (#284)
  • Check that future is done, and always call rclpy.shutdown (#273)
  • Revert \"launch testing : Wait for topics to publish (#274)\" (#276)
  • Contributors: Audrow Nash, Jorge Perez, Michel Hidalgo, Shane Loretz

0.15.0 (2021-10-07)

  • Add WaitForTopics utility for waiting on publishers (#274)
  • Remove unused code, Future.result() already raises (#270)
  • Add timeout to wait for service response in example (#271)
  • Add examples (#263)
  • Contributors: Aditya Pande, Shane Loretz

0.14.2 (2021-04-26)

  • Use underscores in setup.cfg instead of dashes. (#227)
  • Contributors: Mike Purvis

0.14.1 (2021-04-12)

0.14.0 (2021-04-06)

0.13.0 (2021-01-25)

0.12.0 (2020-12-08)

  • Merge pull request #183 from ros2/update-maintainers
  • Move Pete to author, per clalancette
  • Update the package.xml files with the latest Open Robotics maintainers
  • Add pytest.ini so local tests don\'t display warning (#152)
  • Contributors: Chris Lalancette, Michael Jeronimo

0.10.2 (2020-05-26)

  • Call LaunchROSTestModule with the new API. (#150)
  • Contributors: Chris Lalancette

0.10.1 (2020-05-13)

0.10.0 (2020-04-29)

  • Deprecated \'node_executable\' parameter and replace with \'executable\' (#140)
  • Avoid deprecation warning, use from_parent (#141)
  • Show error strings as part of the flake8 test (#135)
  • Remove unused \'launch\' import (#133)
  • Enable implicit ROS startup by launch_ros actions (#128)
  • Fix launch_testing_ros example (#121)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.9.4 (2019-11-19)

  • fix new linter warnings as of flake8-comprehensions 3.1.0 (#94)
  • Contributors: Dirk Thomas

0.9.3 (2019-11-13)

0.9.2 (2019-10-23)

  • Remove self.proc_output and ready_fn (#90)
  • Add support for launching nodes not in a package (#82)
  • Contributors: Michel Hidalgo, Peter Baughman

0.9.1 (2019-09-28)

  • Make launch_testing_ros examples standalone. (#80)
  • Contributors: Michel Hidalgo

0.9.0 (2019-09-25)

  • install package manifest (#71)
  • Do not import rclpy nor launch_ros at module level. (#69)
  • Unindent setup.cfg options. (#66)
  • Support launch_ros test runner in pytest (#54)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.4 (2019-05-30)

0.8.3 (2019-05-29)

0.8.2 (2019-05-20)

  • fix example test logic (#28)
  • Add custom LaunchTestRunner with ROS specific preamble (#26)
  • Fix deprecation warnings (#25)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.8.1 (2019-05-08)

  • try local import (#20)
  • Merge apex_launchtest_ros functionality into launch_testing_ros (#8)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.0 (2019-04-14)

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 launch_testing_ros at answers.ros.org

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.

Package Summary

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

Repository Summary

Checkout URI https://github.com/ros2/launch_ros.git
VCS Type git
VCS Version eloquent
Last Updated 2020-12-04
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

A package providing utilities for writing ROS2 enabled launch tests.

Additional Links

No additional links.

Maintainers

  • Jacob Perron
  • Michael Jeronimo

Authors

  • Pete Baughman

launch_testing_ros

Examples

talker_listener_launch_test.py

Usage:

launch_test test/examples/talker_listener_launch_test.py

This test launches the talker and listener example nodes from demo_nodes_py and interacts with them via their ROS interfaces. Remapping rules are used so that one of the tests can sit in between the talker and the listener and change the data on the fly.

test_fuzzy_data

This test gives an example of what a test that fuzzes data might look like. A ROS subscriber and publisher pair encapsulated in a DataRepublisher object changes the string "Hello World" to "Aloha World" as it travels between the talker and the listener.

test_listener_receives

This test publishes unique messages on the /chatter topic and asserts that the same messages go to the stdout of the listener node

test_talker_transmits

This test subscribes to the remapped /talker_chatter topic and makes sure the talker node also writes the data it's transmitting to stdout

CHANGELOG

Changelog for package launch_testing_ros

0.9.6 (2020-12-04)

  • Update maintainer list for Eloquent (#193)
  • [Eloquent backport] avoid deprecation warning, use from_parent (#141) Call LaunchROSTestModule with the new API. (#150) (#176)
  • Contributors: Michael Jeronimo, Shane Loretz

0.9.5 (2020-01-21)

0.9.4 (2019-11-19)

  • fix new linter warnings as of flake8-comprehensions 3.1.0 (#94)
  • Contributors: Dirk Thomas

0.9.3 (2019-11-13)

0.9.2 (2019-10-23)

  • Remove self.proc_output and ready_fn (#90)
  • Add support for launching nodes not in a package (#82)
  • Contributors: Michel Hidalgo, Peter Baughman

0.9.1 (2019-09-28)

  • Make launch_testing_ros examples standalone. (#80)
  • Contributors: Michel Hidalgo

0.9.0 (2019-09-25)

  • install package manifest (#71)
  • Do not import rclpy nor launch_ros at module level. (#69)
  • Unindent setup.cfg options. (#66)
  • Support launch_ros test runner in pytest (#54)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.4 (2019-05-30)

0.8.3 (2019-05-29)

0.8.2 (2019-05-20)

  • fix example test logic (#28)
  • Add custom LaunchTestRunner with ROS specific preamble (#26)
  • Fix deprecation warnings (#25)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.8.1 (2019-05-08)

  • try local import (#20)
  • Merge apex_launchtest_ros functionality into launch_testing_ros (#8)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.0 (2019-04-14)

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 launch_testing_ros at answers.ros.org

Package Summary

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

Repository Summary

Checkout URI https://github.com/ros2/launch_ros.git
VCS Type git
VCS Version dashing
Last Updated 2021-05-21
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

A package providing utilities for writing ROS2 enabled launch tests.

Additional Links

No additional links.

Maintainers

  • Jacob Perron
  • Michael Jeronimo

Authors

  • Pete Baughman
README
No README found. No README in repository either.
CHANGELOG

Changelog for package launch_testing_ros

0.8.10 (2021-05-21)

0.8.9 (2020-11-24)

  • Update maintainers for Dashing. (#192)
  • Contributors: Michael Jeronimo

0.8.8 (2020-03-13)

0.8.7 (2019-10-14)

  • Install package manifest. (#71) (#86)
  • Contributors: Dirk Thomas

0.8.6 (2019-09-06)

0.8.5 (2019-07-31)

0.8.4 (2019-05-30)

0.8.3 (2019-05-29)

0.8.2 (2019-05-20)

  • fix example test logic (#28)
  • Add custom LaunchTestRunner with ROS specific preamble (#26)
  • Fix deprecation warnings (#25)
  • Contributors: Dirk Thomas, Jacob Perron, Michel Hidalgo

0.8.1 (2019-05-08)

  • try local import (#20)
  • Merge apex_launchtest_ros functionality into launch_testing_ros (#8)
  • Contributors: Dirk Thomas, Michel Hidalgo

0.8.0 (2019-04-14)

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 launch_testing_ros at answers.ros.org

No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.