diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d89ecd..f9c4d0c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ add_executable(sbp-to-ros DEPENDENCIES std_msgs ) -if(${FOUND_ROS2_DISTRO} STREQUAL "foxy") +if((${FOUND_ROS2_DISTRO} STREQUAL "foxy") OR (${FOUND_ROS2_DISTRO} STREQUAL "galactic")) rosidl_target_interfaces(sbp-to-ros ${PROJECT_NAME} "rosidl_typesupport_cpp") else() rosidl_get_typesupport_target(cpp_typesupport_target ${PROJECT_NAME} "rosidl_typesupport_cpp") @@ -148,7 +148,7 @@ if(BUILD_TESTING) $ ) - if(${FOUND_ROS2_DISTRO} STREQUAL "foxy") + if((${FOUND_ROS2_DISTRO} STREQUAL "foxy") OR (${FOUND_ROS2_DISTRO} STREQUAL "galactic")) rosidl_target_interfaces(${PROJECT_NAME}_test ${PROJECT_NAME} "rosidl_typesupport_cpp") else() rosidl_get_typesupport_target(cpp_typesupport_target ${PROJECT_NAME} "rosidl_typesupport_cpp") diff --git a/README.md b/README.md index 9a0a28f..bfca06c 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ ROS 2 driver for Swift Navigation's GNSS/INS receivers and Starling Positioning - [Technical Support](#technical-support) # Features -- Designed for ROS 2 Humble but also works with ROS 2 Foxy -- Developed and tested on Ubuntu 22.04 (ROS 2 Humble) and Ubuntu 20.04 (ROS 2 Foxy) platforms +- Designed for ROS 2 Humble but also works with ROS 2 Foxy and Galactic +- Developed and tested on Ubuntu 22.04 (ROS 2 Humble) and Ubuntu 20.04 (ROS 2 Foxy/Galactic) platforms - Supports Swift Navigation receivers and Starling Positioning Engine in Swift Binary Protocol (SBP) - TCP Client and Serial communication interfaces - SBP file playback