Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,19 @@ Ros2cs is also an independent part of [Ros2 For Unity](https://github.com/Robote
### Platforms

Supported OSes:
- Ubuntu 24.04 (bash)
- Ubuntu 22.04 (bash)
- Ubuntu 20.04 (bash)
- Windows 10 (powershell)
- Windows 11* (powershel)
- Windows 10* (powershell)
- Windows 11* (powershell)

> \* ROS2 Galactic and Humble support only Windows 10 ([ROS 2 Windows system requirements](https://docs.ros.org/en/humble/Installation/Windows-Install-Binary.html#system-requirements)), but it is proven that it also works fine on Windows 11.

Supported ROS2 distributions:
- Galactic
- Jazzy
- Humble
- Galactic
- Foxy

### Flavours

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ display_usage() {
}

if [ -z "${ROS_DISTRO}" ]; then
echo "Source your ros2 distro first (foxy, galactic, humble or rolling are supported)"
echo "Source your ros2 distro first (foxy, galactic, humble, jazzy or rolling are supported)"
exit 1
fi

Expand Down
45 changes: 45 additions & 0 deletions ros2_jazzy.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
repositories:
ros2/rosidl_defaults:
type: git
url: https://github.com/ros2/rosidl_defaults.git
version: jazzy
ros2/rosidl_core:
type: git
url: https://github.com/ros2/rosidl_core.git
version: jazzy
ros2/rosidl_dynamic_typesupport_fastrtps:
type: git
url: https://github.com/ros2/rosidl_dynamic_typesupport_fastrtps.git
version: jazzy
ros2/common_interfaces:
type: git
url: https://github.com/ros2/common_interfaces.git
version: jazzy
ros2/example_interfaces:
type: git
url: https://github.com/ros2/example_interfaces.git
version: jazzy
ros2/unique_identifier_msgs:
type: git
url: https://github.com/ros2/unique_identifier_msgs.git
version: jazzy
ros2/rcl_interfaces:
type: git
url: https://github.com/ros2/rcl_interfaces.git
version: jazzy
ros2/geometry2:
type: git
url: https://github.com/ros2/geometry2.git
version: jazzy
ros2/test_interface_files:
type: git
url: https://github.com/ros2/test_interface_files.git
version: jazzy
external/build_tools/dotnet_cmake_module:
type: git
url: https://github.com/RobotecAI/dotnet_cmake_module
version: 1.1.0
external/build_tools/ament_cmake_export_assemblies:
type: git
url: https://github.com/RobotecAI/ament_cmake_export_assemblies
version: master
4 changes: 2 additions & 2 deletions src/ros2cs/ros2cs_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ if(STANDALONE_BUILD)
endif()

# Get rmw_cyclonedds_cpp for humble
if("${_library_name}" STREQUAL "rmw_cyclonedds_cpp" AND (ros2_distro STREQUAL "humble" OR ros2_distro STREQUAL "rolling"))
if("${_library_name}" STREQUAL "rmw_cyclonedds_cpp" AND (ros2_distro STREQUAL "humble" OR ros2_distro STREQUAL "jazzy" OR ros2_distro STREQUAL "rolling"))
fetch_target_lib(rmw_cyclonedds_cpp::rmw_cyclonedds_cpp)
list(APPEND REQ_STANDALONE_LIBS ${rmw_cyclonedds_cpp_rmw_cyclonedds_cpp_LIB_PATH})
endif()
Expand Down Expand Up @@ -377,7 +377,7 @@ if(STANDALONE_BUILD)
rosidl_typesupport_introspection_cpp
spdlog
tracetools
yaml
yaml-cpp
tinyxml2
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ foreach(_generated_msg_c_ts_file ${_generated_msg_c_ts_files})

set(ros2_distro "$ENV{ROS_DISTRO}")

if(ros2_distro STREQUAL "humble" OR ros2_distro STREQUAL "rolling")
if(${rosidl_cmake_VERSION} VERSION_GREATER 2.5.0)
rosidl_get_typesupport_target(c_typesupport_target "${PROJECT_NAME}" "rosidl_typesupport_c")
target_link_libraries(${_target_name} "${c_typesupport_target}")
else()
Expand Down Expand Up @@ -352,7 +352,7 @@ foreach(_generated_srv_c_ts_file ${_generated_srv_c_ts_files})

set(ros2_distro "$ENV{ROS_DISTRO}")

if(ros2_distro STREQUAL "humble" OR ros2_distro STREQUAL "rolling")
if(${rosidl_cmake_VERSION} VERSION_GREATER 2.5.0)
rosidl_get_typesupport_target(c_typesupport_target "${PROJECT_NAME}" "rosidl_typesupport_c")
target_link_libraries(${_target_name} "${c_typesupport_target}")
else()
Expand Down