Skip to content
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

feat: add packages under autowarefoundation #243

Merged
Merged
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
42 changes: 42 additions & 0 deletions patch/ros-humble-autoware-utils.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 21eb4ad..170a838 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 3.14)
project(autoware_utils)

+if(WIN32 AND MSVC)
+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+endif()
+
find_package(autoware_cmake REQUIRED)
autoware_package()

diff --git a/include/autoware_utils/ros/uuid_helper.hpp b/include/autoware_utils/ros/uuid_helper.hpp
index 8e27b4c..bbb817f 100644
--- a/include/autoware_utils/ros/uuid_helper.hpp
+++ b/include/autoware_utils/ros/uuid_helper.hpp
@@ -23,6 +23,10 @@
#include <random>
#include <string>

+#if defined(_MSC_VER) && (_MSC_VER < 1600)
+typedef unsigned __int8 uint8_t;
+#endif
+
namespace autoware_utils
{
inline unique_identifier_msgs::msg::UUID generate_uuid()
@@ -30,7 +34,11 @@ inline unique_identifier_msgs::msg::UUID generate_uuid()
// Generate random number
unique_identifier_msgs::msg::UUID uuid;
std::mt19937 gen(std::random_device{}());
+#if defined(_MSC_VER)
+ std::independent_bits_engine<std::mt19937, 8, unsigned short> bit_eng(gen);
+#else
std::independent_bits_engine<std::mt19937, 8, uint8_t> bit_eng(gen);
+#endif
std::generate(uuid.uuid.begin(), uuid.uuid.end(), bit_eng);

return uuid;
2 changes: 2 additions & 0 deletions robostack.yaml
Original file line number Diff line number Diff line change
@@ -927,6 +927,8 @@ qt5-qmake:
robostack: [qt-main, REQUIRE_OPENGL]
qtbase5-dev:
robostack: [qt-main, REQUIRE_OPENGL]
range-v3:
robostack: [range-v3]
rapidjson-dev:
robostack: [rapidjson]
roboticstoolbox-python:
14 changes: 14 additions & 0 deletions vinca_linux_64.yaml
Original file line number Diff line number Diff line change
@@ -180,6 +180,20 @@ packages_select_by_deps:

# requested in https://github.com/RoboStack/ros-humble/issues/249
- twist_mux

# autoware
- autoware_common_msgs
- autoware_control_msgs
- autoware_localization_msgs
- autoware_map_msgs
- autoware_perception_msgs
- autoware_planning_msgs
- autoware_sensing_msgs
- autoware_system_msgs
- autoware_v2x_msgs
- autoware_vehicle_msgs

- autoware_utils

# requested in https://github.com/RoboStack/ros-humble/issues/252
- rmw_zenoh_cpp
14 changes: 14 additions & 0 deletions vinca_linux_aarch64.yaml
Original file line number Diff line number Diff line change
@@ -124,6 +124,20 @@ packages_select_by_deps:

- point_cloud_transport_plugins

# autoware
- autoware_common_msgs
- autoware_control_msgs
- autoware_localization_msgs
- autoware_map_msgs
- autoware_perception_msgs
- autoware_planning_msgs
- autoware_sensing_msgs
- autoware_system_msgs
- autoware_v2x_msgs
- autoware_vehicle_msgs

- autoware_utils

# Used to work, now needs fixes
# - rtabmap
# - webots-ros2
14 changes: 14 additions & 0 deletions vinca_osx.yaml
Original file line number Diff line number Diff line change
@@ -139,5 +139,19 @@ packages_select_by_deps:

- foxglove_compressed_image_transport

# autoware
- autoware_common_msgs
- autoware_control_msgs
- autoware_localization_msgs
- autoware_map_msgs
- autoware_perception_msgs
- autoware_planning_msgs
- autoware_sensing_msgs
- autoware_system_msgs
- autoware_v2x_msgs
- autoware_vehicle_msgs

- autoware_utils

patch_dir: patch
rosdistro_snapshot: rosdistro_snapshot.yaml
14 changes: 14 additions & 0 deletions vinca_osx_arm64.yaml
Original file line number Diff line number Diff line change
@@ -116,6 +116,20 @@ packages_select_by_deps:

# requested in https://github.com/RoboStack/ros-humble/issues/249
- twist_mux

# autoware
- autoware_common_msgs
- autoware_control_msgs
- autoware_localization_msgs
- autoware_map_msgs
- autoware_perception_msgs
- autoware_planning_msgs
- autoware_sensing_msgs
- autoware_system_msgs
- autoware_v2x_msgs
- autoware_vehicle_msgs

- autoware_utils

# requested in https://github.com/RoboStack/ros-humble/issues/252
- rmw_zenoh_cpp
14 changes: 14 additions & 0 deletions vinca_win.yaml
Original file line number Diff line number Diff line change
@@ -253,5 +253,19 @@ packages_select_by_deps:

- open3d_conversions

# autoware
- autoware_common_msgs
- autoware_control_msgs
- autoware_localization_msgs
- autoware_map_msgs
- autoware_perception_msgs
- autoware_planning_msgs
- autoware_sensing_msgs
- autoware_system_msgs
- autoware_v2x_msgs
- autoware_vehicle_msgs

- autoware_utils

patch_dir: patch
rosdistro_snapshot: rosdistro_snapshot.yaml