Skip to content

Commit 320b403

Browse files
Merge pull request #243 from wep21/add-autowarefoundation-packages
feat: add packages under autowarefoundation
2 parents 715d9ca + 36ed3e3 commit 320b403

File tree

7 files changed

+114
-0
lines changed

7 files changed

+114
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index 21eb4ad..170a838 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -1,6 +1,10 @@
6+
cmake_minimum_required(VERSION 3.14)
7+
project(autoware_utils)
8+
9+
+if(WIN32 AND MSVC)
10+
+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
11+
+endif()
12+
+
13+
find_package(autoware_cmake REQUIRED)
14+
autoware_package()
15+
16+
diff --git a/include/autoware_utils/ros/uuid_helper.hpp b/include/autoware_utils/ros/uuid_helper.hpp
17+
index 8e27b4c..bbb817f 100644
18+
--- a/include/autoware_utils/ros/uuid_helper.hpp
19+
+++ b/include/autoware_utils/ros/uuid_helper.hpp
20+
@@ -23,6 +23,10 @@
21+
#include <random>
22+
#include <string>
23+
24+
+#if defined(_MSC_VER) && (_MSC_VER < 1600)
25+
+typedef unsigned __int8 uint8_t;
26+
+#endif
27+
+
28+
namespace autoware_utils
29+
{
30+
inline unique_identifier_msgs::msg::UUID generate_uuid()
31+
@@ -30,7 +34,11 @@ inline unique_identifier_msgs::msg::UUID generate_uuid()
32+
// Generate random number
33+
unique_identifier_msgs::msg::UUID uuid;
34+
std::mt19937 gen(std::random_device{}());
35+
+#if defined(_MSC_VER)
36+
+ std::independent_bits_engine<std::mt19937, 8, unsigned short> bit_eng(gen);
37+
+#else
38+
std::independent_bits_engine<std::mt19937, 8, uint8_t> bit_eng(gen);
39+
+#endif
40+
std::generate(uuid.uuid.begin(), uuid.uuid.end(), bit_eng);
41+
42+
return uuid;

robostack.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,8 @@ qt5-qmake:
927927
robostack: [qt-main, REQUIRE_OPENGL]
928928
qtbase5-dev:
929929
robostack: [qt-main, REQUIRE_OPENGL]
930+
range-v3:
931+
robostack: [range-v3]
930932
rapidjson-dev:
931933
robostack: [rapidjson]
932934
roboticstoolbox-python:

vinca_linux_64.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,20 @@ packages_select_by_deps:
181181

182182
# requested in https://github.com/RoboStack/ros-humble/issues/249
183183
- twist_mux
184+
185+
# autoware
186+
- autoware_common_msgs
187+
- autoware_control_msgs
188+
- autoware_localization_msgs
189+
- autoware_map_msgs
190+
- autoware_perception_msgs
191+
- autoware_planning_msgs
192+
- autoware_sensing_msgs
193+
- autoware_system_msgs
194+
- autoware_v2x_msgs
195+
- autoware_vehicle_msgs
196+
197+
- autoware_utils
184198

185199
# requested in https://github.com/RoboStack/ros-humble/issues/252
186200
- rmw_zenoh_cpp

vinca_linux_aarch64.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,20 @@ packages_select_by_deps:
125125

126126
- point_cloud_transport_plugins
127127

128+
# autoware
129+
- autoware_common_msgs
130+
- autoware_control_msgs
131+
- autoware_localization_msgs
132+
- autoware_map_msgs
133+
- autoware_perception_msgs
134+
- autoware_planning_msgs
135+
- autoware_sensing_msgs
136+
- autoware_system_msgs
137+
- autoware_v2x_msgs
138+
- autoware_vehicle_msgs
139+
140+
- autoware_utils
141+
128142
# Used to work, now needs fixes
129143
# - rtabmap
130144
# - webots-ros2

vinca_osx.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,19 @@ packages_select_by_deps:
140140

141141
- foxglove_compressed_image_transport
142142

143+
# autoware
144+
- autoware_common_msgs
145+
- autoware_control_msgs
146+
- autoware_localization_msgs
147+
- autoware_map_msgs
148+
- autoware_perception_msgs
149+
- autoware_planning_msgs
150+
- autoware_sensing_msgs
151+
- autoware_system_msgs
152+
- autoware_v2x_msgs
153+
- autoware_vehicle_msgs
154+
155+
- autoware_utils
156+
143157
patch_dir: patch
144158
rosdistro_snapshot: rosdistro_snapshot.yaml

vinca_osx_arm64.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,20 @@ packages_select_by_deps:
117117

118118
# requested in https://github.com/RoboStack/ros-humble/issues/249
119119
- twist_mux
120+
121+
# autoware
122+
- autoware_common_msgs
123+
- autoware_control_msgs
124+
- autoware_localization_msgs
125+
- autoware_map_msgs
126+
- autoware_perception_msgs
127+
- autoware_planning_msgs
128+
- autoware_sensing_msgs
129+
- autoware_system_msgs
130+
- autoware_v2x_msgs
131+
- autoware_vehicle_msgs
132+
133+
- autoware_utils
120134

121135
# requested in https://github.com/RoboStack/ros-humble/issues/252
122136
- rmw_zenoh_cpp

vinca_win.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,5 +253,19 @@ packages_select_by_deps:
253253

254254
- open3d_conversions
255255

256+
# autoware
257+
- autoware_common_msgs
258+
- autoware_control_msgs
259+
- autoware_localization_msgs
260+
- autoware_map_msgs
261+
- autoware_perception_msgs
262+
- autoware_planning_msgs
263+
- autoware_sensing_msgs
264+
- autoware_system_msgs
265+
- autoware_v2x_msgs
266+
- autoware_vehicle_msgs
267+
268+
- autoware_utils
269+
256270
patch_dir: patch
257271
rosdistro_snapshot: rosdistro_snapshot.yaml

0 commit comments

Comments
 (0)