Package Summary

Tags No category tags.
Version 0.19.7
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 humble
Last Updated 2024-01-24
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.19.7 (2024-01-24)

  • `WaitForTopics`: get content of messages for each topic (backport #353) (#389)
  • Contributors: mergify[bot]

0.19.6 (2023-09-19)

0.19.5 (2023-07-17)

0.19.4 (2023-01-10)

  • Inherit markers from generate_test_description (#330) (#332)
  • Contributors: mergify[bot]

0.19.3 (2022-05-17)

0.19.2 (2022-04-08)

  • Add [hz]{.title-ref} param to [talker.py]{.title-ref} to fix wait_for_topic_launch_test (#309)
  • Contributors: Shane Loretz

0.19.1 (2022-04-05)

0.19.0 (2022-03-24)

0.18.0 (2022-03-01)

0.17.0 (2021-12-14)

  • Revert WaitForTopics (#288)
  • Contributors: Jacob Perron

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.

Dependant Packages

Name Repo Deps
diagnostic_aggregator github-ros-diagnostics
diagnostic_updater github-ros-diagnostics
joint_state_publisher github-ros-joint_state_publisher
novatel_oem7_driver github-novatel-novatel_oem7_driver
pcl_ros github-ros-perception-perception_pcl
rosbridge_server github-RobotWebTools-rosbridge_suite
teleop_twist_joy github-ros2-teleop_twist_joy
twist_mux github-ros-teleop-twist_mux
composition github-ros2-demos
demo_nodes_cpp github-ros2-demos
demo_nodes_cpp_native github-ros2-demos
image_tools github-ros2-demos
logging_demo github-ros2-demos
pendulum_control github-ros2-demos
launch_testing_examples github-ros2-examples
kobuki_velocity_smoother github-kobuki-base-kobuki_velocity_smoother
nav2_util github-ros-planning-navigation2
ros1_bridge github-ros2-ros1_bridge
ros2action github-ros2-ros2cli
ros2doctor github-ros2-ros2cli
ros2interface github-ros2-ros2cli
ros2lifecycle github-ros2-ros2cli
ros2node github-ros2-ros2cli
ros2param github-ros2-ros2cli
ros2pkg github-ros2-ros2cli
ros2service github-ros2-ros2cli
ros2topic github-ros2-ros2cli
ros2test github-ros2-ros_testing
ros_testing github-ros2-ros_testing
ros2bag github-ros2-rosbag2
system_modes github-micro-ROS-system_modes
test_launch_system_modes github-micro-ROS-system_modes
test_rclcpp github-ros2-system_tests
ros_core github-ros2-variants
webots_ros2_tests github-cyberbotics-webots_ros2
ros2launch_security_examples github-osrf-ros2launch_security
ur_description github-UniversalRobots-Universal_Robots_ROS2_Description
stcamera_components github-ose-support-ros-stcamera_ros2
stcamera_grabber github-ose-support-ros-stcamera_ros2
stcamera_launch github-ose-support-ros-stcamera_ros2

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 Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.24.1
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 iron
Last Updated 2024-02-07
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
  • Brandon Ong

Authors

  • Jacob Perron
  • Michael Jeronimo
  • Michel Hidalgo
  • 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.

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.24.1 (2024-02-07)

  • `WaitForTopics`: get content of messages for each topic (#388)
  • Contributors: Giorgio Pintaudi

0.24.0 (2023-04-11)

  • Increase the timeouts in wait_for_topic_launch_test. (#360)
  • Enable document generation using rosdoc2 (#359)
  • exit() methods should not reraise the passed-in exception (#357)
  • Contributors: Chris Lalancette, Giorgio Pintaudi, Yadu

0.23.0 (2023-02-14)

  • Inherit markers from generate_test_description (#330)
  • [rolling] Update maintainers - 2022-11-07 (#331)
  • Contributors: Audrow Nash, Scott K Logan

0.22.0 (2022-11-02)

0.21.0 (2022-09-13)

0.20.0 (2022-04-29)

  • Fix long wait during shutdown in WaitForTopics (#314)
  • Contributors: Keng12

0.19.2 (2022-04-08)

  • Add [hz]{.title-ref} param to [talker.py]{.title-ref} to fix wait_for_topic_launch_test (#309)
  • Contributors: Shane Loretz

0.19.1 (2022-04-05)

0.19.0 (2022-03-24)

0.18.0 (2022-03-01)

0.17.0 (2021-12-14)

  • Revert WaitForTopics (#288)
  • Contributors: Jacob Perron

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 Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.26.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 rolling
Last Updated 2024-03-28
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
  • Brandon Ong

Authors

  • Jacob Perron
  • Michael Jeronimo
  • Michel Hidalgo
  • 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.

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.26.5 (2024-03-28)

  • Make launch_testing_ros examples more robust. (#394)
  • Contributors: Chris Lalancette

0.26.4 (2024-01-24)

0.26.3 (2023-12-26)

  • added type hinting to launch_testing_ros/test/examples (#386)
  • Contributors: Yaswanth

0.26.2 (2023-09-07)

  • Handle spin() ExternalShutdownException. (#378)
  • Increase the timeout in wait_for_topic_launch_test. (#377)
  • Contributors: Chris Lalancette

0.26.1 (2023-08-21)

0.26.0 (2023-07-11)

  • `WaitForTopics`: get content of messages for each topic (#353)
  • Contributors: Giorgio Pintaudi

0.25.0 (2023-04-27)

0.24.0 (2023-04-11)

  • Increase the timeouts in wait_for_topic_launch_test. (#360)
  • Enable document generation using rosdoc2 (#359)
  • exit() methods should not reraise the passed-in exception (#357)
  • Contributors: Chris Lalancette, Giorgio Pintaudi, Yadu

0.23.0 (2023-02-14)

  • Inherit markers from generate_test_description (#330)
  • [rolling] Update maintainers - 2022-11-07 (#331)
  • Contributors: Audrow Nash, Scott K Logan

0.22.0 (2022-11-02)

0.21.0 (2022-09-13)

0.20.0 (2022-04-29)

  • Fix long wait during shutdown in WaitForTopics (#314)
  • Contributors: Keng12

0.19.2 (2022-04-08)

  • Add [hz]{.title-ref} param to [talker.py]{.title-ref} to fix wait_for_topic_launch_test (#309)
  • Contributors: Shane Loretz

0.19.1 (2022-04-05)

0.19.0 (2022-03-24)

0.18.0 (2022-03-01)

0.17.0 (2021-12-14)

  • Revert WaitForTopics (#288)
  • Contributors: Jacob Perron

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 Robotics Stack Exchange

No version for distro noetic. 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 Robotics Stack Exchange

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 Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.14.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 galactic
Last Updated 2022-12-08
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.5 (2022-12-07)

0.14.4 (2022-12-02)

  • Inherit markers from generate_test_description (#333)
  • Contributors: Scott K Logan

0.14.3 (2022-04-28)

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 Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.11.7
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 2022-09-12
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.7 (2022-09-12)

0.11.6 (2022-01-31)

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 Robotics Stack Exchange

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.
No version for distro melodic. Known supported distros are highlighted in the buttons above.