-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up basic infrastructure for running a CLI smoke test #1
Comments
Basic CLI smoke tests will probably go into the main ArduPilot repo. Development is on this branch: https://github.com/srmainwaring/ardupilot/tree/wip/ros2-pkg-cmake-v2. Status
Items to resolveROS testing frameworkThere are multiple packages for testing launch with varying degrees of usage in ROS Humble and integration with colcon.
Some guidance here: https://answers.ros.org/question/325167/difference-between-launch-and-launch_ros/, but examples and documentation are sparse. Process clean up
|
Closed by #23429 |
* Launch Iris: initial version of ardupilot_gz - Adapted from https://github.com/gazebosim/ros_gz_project_template. - Change project names. - Update dependencies. - Update README. - Update launch for macOS (separate server and gui for Gazebo). - Update maintainer details. Signed-off-by: Rhys Mainwaring <[email protected]> * Launch Iris: rename diff drive bridge yaml, remove extra clock entry Signed-off-by: Rhys Mainwaring <[email protected]> * Launch Iris: add bringup for iris quadcopter - Shorten name in interface to iris. Signed-off-by: Rhys Mainwaring <[email protected]> * Launch Iris: add lift-drag and ardupilot plugins to example Signed-off-by: Rhys Mainwaring <[email protected]> * Launch Iris: enable static code checks - Enable static code checks in ardupilot_gz_gazebo - Enable static code checks in ardupilot_gz_description - Run all common linters. - Enable static code checks in ardupilot_gz_bringup - Apply flake8 extend-ignore. - Format launch files with black. - Apply common linters. Enable static code checks in ardupilot_gz_application Signed-off-by: Rhys Mainwaring <[email protected]> * Launch Iris: add iris bringup launch - Compose the SITL and microROS agent launch with Gazebo and Rviz. Signed-off-by: Rhys Mainwaring <[email protected]> * Launch Iris: update README Signed-off-by: Rhys Mainwaring <[email protected]> * Launch Iris: move projects up to main directory Signed-off-by: Rhys Mainwaring <[email protected]>
Create a ROS2 package that can run a smoke test to ensure the DDS functionality in ardupilot is working as intended.
colcon build
colcon test
References:
https://github.com/ros2/launch_ros/pull/263/files#diff-9d860a3041f103f8e08aef7ce1db4364a4a7048ee6afaadd3c4e820647786e45
https://github.com/GitRepJo/ros2_cpp_test_example/blob/main/test/sub_pub_launch_testing.py
ros2/launch_ros#272
The text was updated successfully, but these errors were encountered: