Skip to content

Commit

Permalink
Tools: ros2: Add missing dep and improved instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed May 25, 2024
1 parent 25f2e63 commit bab6179
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tools/ros2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,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
Expand Down
1 change: 1 addition & 0 deletions Tools/ros2/ardupilot_dds_tests/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<exec_depend>geographic_msgs</exec_depend>
<test_depend>launch</test_depend>
<test_depend>launch_pytest</test_depend>
<test_depend>micro_ros_agent</test_depend>
<test_depend>launch_ros</test_depend>
<exec_depend>micro_ros_msgs</exec_depend>
<test_depend>python3-pytest</test_depend>
Expand Down

0 comments on commit bab6179

Please sign in to comment.