From 3321f126e30c07b286856f47d00593b714954c12 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Sun, 26 Nov 2023 16:45:04 -0700 Subject: [PATCH] Tools: ros2: Add missing dep and improved instructions Signed-off-by: Ryan Friedman --- Tools/ros2/README.md | 4 ++++ Tools/ros2/ardupilot_dds_tests/package.xml | 1 + 2 files changed, 5 insertions(+) diff --git a/Tools/ros2/README.md b/Tools/ros2/README.md index a4e660027a8ed6..d869f3e1bcb42a 100644 --- a/Tools/ros2/README.md +++ b/Tools/ros2/README.md @@ -92,6 +92,10 @@ colcon test --packages-select ardupilot_dds_tests colcon test-result --all --verbose ``` +To debug a specific test, you can do the following: +``` +colcon test --log-level DEBUG --packages-select ardupilot_dds_tests --event-handlers=console_direct+ --pytest-args -k test_dds_udp_geopose_msg_recv +``` ## Install macOS The install procedure on macOS is similar, except that all dependencies diff --git a/Tools/ros2/ardupilot_dds_tests/package.xml b/Tools/ros2/ardupilot_dds_tests/package.xml index d7a6164c0549ee..78613ea81a37a9 100644 --- a/Tools/ros2/ardupilot_dds_tests/package.xml +++ b/Tools/ros2/ardupilot_dds_tests/package.xml @@ -31,6 +31,7 @@ geographic_msgs launch launch_pytest + micro_ros_agent launch_ros micro_ros_msgs python3-pytest