mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23:18:28 -04:00
e0f5e30985
- Moved from https://github.com/arshPratap/ardupilot_ros2. - Document interface. Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
24 lines
619 B
CMake
24 lines
619 B
CMake
cmake_minimum_required(VERSION 3.8)
|
|
project(ardupilot_msgs)
|
|
|
|
# --------------------------------------------------------------------------- #
|
|
# Find dependencies.
|
|
|
|
find_package(ament_cmake REQUIRED)
|
|
find_package(rosidl_default_generators REQUIRED)
|
|
|
|
# --------------------------------------------------------------------------- #
|
|
# Generate and export message interfaces.
|
|
|
|
rosidl_generate_interfaces(${PROJECT_NAME}
|
|
"srv/ArmMotors.srv"
|
|
ADD_LINTER_TESTS
|
|
)
|
|
|
|
ament_export_dependencies(rosidl_default_runtime)
|
|
|
|
# --------------------------------------------------------------------------- #
|
|
# Call last.
|
|
|
|
ament_package()
|