Skip to content

Commit 88c4ea8

Browse files
authored
Iron release (#102)
* Iron release and deprecate foxy Signed-off-by: acuadros95 <acuadros1995@gmail.com> * Fix ros tracing repo Signed-off-by: acuadros95 <acuadros1995@gmail.com> * Add missing repo Signed-off-by: acuadros95 <acuadros1995@gmail.com> * Add rosidl_dynamic_typesupport fork Signed-off-by: acuadros95 <acuadros1995@gmail.com> * Remove duplicated branch Signed-off-by: acuadros95 <acuadros1995@gmail.com> --------- Signed-off-by: acuadros95 <acuadros1995@gmail.com>
1 parent 8103c3c commit 88c4ea8

6 files changed

Lines changed: 60 additions & 59 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
platform: [teensy41, teensy40, teensy36, teensy35, teensy31, due, zero, olimex_e407, esp32dev, nanorp2040connect, portenta_h7_m7, teensy41_eth, nanorp2040connect_wifi, portenta_h7_m7_wifi, esp32dev_wifi, portenta_h7_m7_foxy, portenta_h7_m7_rolling, teensy41_custom, pico]
17+
platform: [teensy41, teensy40, teensy36, teensy35, teensy31, due, zero, olimex_e407, esp32dev, nanorp2040connect, portenta_h7_m7, teensy41_eth, nanorp2040connect_wifi, portenta_h7_m7_wifi, esp32dev_wifi, portenta_h7_m7_humble, portenta_h7_m7_rolling, teensy41_custom, pico]
1818

1919
steps:
2020
- uses: actions/checkout@v3

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ A explanation for adding custom targets is also present
8484

8585
### ROS 2 distribution
8686
The target ROS 2 distribution can be configured with the `board_microros_distro = <distribution>`, supported values are:
87-
- `humble` *(default value)*
87+
- `humble`
88+
- `iron` *(default value)*
8889
- `rolling`
89-
- `foxy`
9090

9191
### Transport configuration
9292
The transport can be configured with the `board_microros_transport = <transport>`, supported values and configurations are:
@@ -206,7 +206,7 @@ It is also possible to use custom transports on a `micro-XRCE Agent` instance. M
206206
## Examples
207207
A simple publisher project using serial transport is available on the [examples](./examples) directory, this examples is meant to be modified with the user board.
208208

209-
- More micro-ROS usage examples are available on [micro-ROS-demos/rclc](https://github.com/micro-ROS/micro-ROS-demos/tree/humble/rclc).
209+
- More micro-ROS usage examples are available on [micro-ROS-demos/rclc](https://github.com/micro-ROS/micro-ROS-demos/tree/iron/rclc).
210210
- For a complete micro-ROS tutorial, check [Programming with rcl and rclc](https://micro.ros.org/docs/tutorials/programming_rcl_rclc/overview/) documentation.
211211

212212
## Purpose of the Project

‎ci/platformio.ini‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
; Foxy test
2-
[env:portenta_h7_m7_foxy]
1+
; Humble test
2+
[env:portenta_h7_m7_humble]
33
platform = ststm32
44
board = portenta_h7_m7
55
framework = arduino
66
board_microros_transport = serial
7-
board_microros_distro = foxy
7+
board_microros_distro = humble
88
lib_deps =
99
../
1010

‎extra_script.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434

3535
selected_board_meta = boards_metas[board] if board in boards_metas else "colcon.meta"
3636

37-
# Retrieve the required transport. Default humble
38-
microros_distro = global_env.BoardConfig().get("microros_distro", "humble")
37+
# Retrieve the required transport. Default iron
38+
microros_distro = global_env.BoardConfig().get("microros_distro", "iron")
3939

4040
# Retrieve the required transport. Default serial
4141
microros_transport = global_env.BoardConfig().get("microros_transport", "serial")

‎microros_utils/library_builder.py‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,12 @@ def package_mcu_library(self):
212212
shutil.copytree(self.build_folder + "/mcu/install/include", self.includes)
213213

214214
# Fix include paths
215-
if self.distro not in ["foxy"]:
216-
include_folders = os.listdir(self.includes)
215+
include_folders = os.listdir(self.includes)
217216

218-
for folder in include_folders:
219-
folder_path = self.includes + "/{}".format(folder)
220-
repeated_path = folder_path + "/{}".format(folder)
217+
for folder in include_folders:
218+
folder_path = self.includes + "/{}".format(folder)
219+
repeated_path = folder_path + "/{}".format(folder)
221220

222-
if os.path.exists(repeated_path):
223-
shutil.copytree(repeated_path, folder_path, copy_function=shutil.move, dirs_exist_ok=True)
224-
shutil.rmtree(repeated_path)
221+
if os.path.exists(repeated_path):
222+
shutil.copytree(repeated_path, folder_path, copy_function=shutil.move, dirs_exist_ok=True)
223+
shutil.rmtree(repeated_path)

‎microros_utils/repositories.py‎

Lines changed: 44 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,21 @@ class Sources:
7575
Repository("ament_cmake_ros", "https://github.com/ros2/ament_cmake_ros", "humble"),
7676
Repository("ament_index", "https://github.com/ament/ament_index", "humble")
7777
],
78+
'iron': [
79+
Repository("ament_cmake", "https://github.com/ament/ament_cmake", "iron"),
80+
Repository("ament_lint", "https://github.com/ament/ament_lint", "iron"),
81+
Repository("ament_package", "https://github.com/ament/ament_package", "iron"),
82+
Repository("googletest", "https://github.com/ament/googletest", "iron"),
83+
Repository("ament_cmake_ros", "https://github.com/ros2/ament_cmake_ros", "iron"),
84+
Repository("ament_index", "https://github.com/ament/ament_index", "iron")
85+
],
7886
'rolling': [
7987
Repository("ament_cmake", "https://github.com/ament/ament_cmake", "rolling"),
8088
Repository("ament_lint", "https://github.com/ament/ament_lint", "rolling"),
8189
Repository("ament_package", "https://github.com/ament/ament_package", "rolling"),
8290
Repository("googletest", "https://github.com/ament/googletest", "rolling"),
8391
Repository("ament_cmake_ros", "https://github.com/ros2/ament_cmake_ros", "rolling"),
8492
Repository("ament_index", "https://github.com/ament/ament_index", "rolling")
85-
],
86-
'foxy': [
87-
Repository("ament_cmake", "https://github.com/ament/ament_cmake", "foxy"),
88-
Repository("ament_lint", "https://github.com/ament/ament_lint", "foxy"),
89-
Repository("ament_package", "https://github.com/ament/ament_package", "foxy"),
90-
Repository("googletest", "https://github.com/ament/googletest", "foxy"),
91-
Repository("ament_cmake_ros", "https://github.com/ros2/ament_cmake_ros", "foxy"),
92-
Repository("ament_index", "https://github.com/ament/ament_index", "foxy")
9393
]
9494
}
9595

@@ -114,58 +114,60 @@ class Sources:
114114
Repository("test_interface_files", "https://github.com/ros2/test_interface_files", "humble"),
115115
Repository("rmw_implementation", "https://github.com/ros2/rmw_implementation", "humble"),
116116
Repository("rcl_logging", "https://github.com/ros2/rcl_logging", "humble"),
117-
Repository("ros2_tracing", "https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing", "humble"),
117+
Repository("ros2_tracing", "https://github.com/ros2/ros2_tracing", "humble"),
118+
],
119+
'iron': [
120+
Repository("micro-CDR", "https://github.com/eProsima/micro-CDR", "iron", "ros2"),
121+
Repository("Micro-XRCE-DDS-Client", "https://github.com/eProsima/Micro-XRCE-DDS-Client", "iron", "ros2"),
122+
Repository("rcl", "https://github.com/micro-ROS/rcl", "iron"),
123+
Repository("rclc", "https://github.com/ros2/rclc", "iron"),
124+
Repository("micro_ros_utilities", "https://github.com/micro-ROS/micro_ros_utilities", "iron"),
125+
Repository("rcutils", "https://github.com/micro-ROS/rcutils", "iron"),
126+
Repository("micro_ros_msgs", "https://github.com/micro-ROS/micro_ros_msgs", "iron"),
127+
Repository("rmw-microxrcedds", "https://github.com/micro-ROS/rmw-microxrcedds", "iron"),
128+
Repository("rosidl_typesupport", "https://github.com/micro-ROS/rosidl_typesupport", "iron"),
129+
Repository("rosidl_typesupport_microxrcedds", "https://github.com/micro-ROS/rosidl_typesupport_microxrcedds", "iron"),
130+
Repository("rosidl", "https://github.com/ros2/rosidl", "iron"),
131+
Repository("rosidl_dynamic_typesupport", "https://github.com/micro-ROS/rosidl_dynamic_typesupport", "iron"),
132+
Repository("rosidl_core", "https://github.com/ros2/rosidl_core", "iron"),
133+
Repository("rmw", "https://github.com/ros2/rmw", "iron"),
134+
Repository("rcl_interfaces", "https://github.com/ros2/rcl_interfaces", "iron"),
135+
Repository("rosidl_defaults", "https://github.com/ros2/rosidl_defaults", "iron"),
136+
Repository("unique_identifier_msgs", "https://github.com/ros2/unique_identifier_msgs", "iron"),
137+
Repository("common_interfaces", "https://github.com/ros2/common_interfaces", "iron"),
138+
Repository("test_interface_files", "https://github.com/ros2/test_interface_files", "iron"),
139+
Repository("rmw_implementation", "https://github.com/ros2/rmw_implementation", "iron"),
140+
Repository("rcl_logging", "https://github.com/ros2/rcl_logging", "iron"),
141+
Repository("ros2_tracing", "https://github.com/ros2/ros2_tracing", "iron"),
118142
],
119143
'rolling': [
120144
Repository("micro-CDR", "https://github.com/eProsima/micro-CDR", "rolling", "ros2"),
121145
Repository("Micro-XRCE-DDS-Client", "https://github.com/eProsima/Micro-XRCE-DDS-Client", "rolling", "ros2"),
122-
Repository("rcl", "https://github.com/micro-ROS/rcl", "rolling", "master"),
123-
Repository("rclc", "https://github.com/ros2/rclc", "rolling", "master"),
124-
Repository("micro_ros_utilities", "https://github.com/micro-ROS/micro_ros_utilities", "rolling", "main"),
125-
Repository("rcutils", "https://github.com/micro-ROS/rcutils", "rolling", "master"),
126-
Repository("micro_ros_msgs", "https://github.com/micro-ROS/micro_ros_msgs", "rolling", "main"),
127-
Repository("rmw-microxrcedds", "https://github.com/micro-ROS/rmw-microxrcedds", "rolling", "main"),
128-
Repository("rosidl_typesupport", "https://github.com/micro-ROS/rosidl_typesupport", "rolling", "master"),
129-
Repository("rosidl_typesupport_microxrcedds", "https://github.com/micro-ROS/rosidl_typesupport_microxrcedds", "rolling", "main"),
146+
Repository("rcl", "https://github.com/micro-ROS/rcl", "rolling"),
147+
Repository("rclc", "https://github.com/ros2/rclc", "rolling"),
148+
Repository("micro_ros_utilities", "https://github.com/micro-ROS/micro_ros_utilities", "rolling"),
149+
Repository("rcutils", "https://github.com/micro-ROS/rcutils", "rolling"),
150+
Repository("micro_ros_msgs", "https://github.com/micro-ROS/micro_ros_msgs", "rolling"),
151+
Repository("rmw-microxrcedds", "https://github.com/micro-ROS/rmw-microxrcedds", "rolling"),
152+
Repository("rosidl_typesupport", "https://github.com/micro-ROS/rosidl_typesupport", "rolling"),
153+
Repository("rosidl_typesupport_microxrcedds", "https://github.com/micro-ROS/rosidl_typesupport_microxrcedds", "rolling"),
130154
Repository("rosidl", "https://github.com/ros2/rosidl", "rolling"),
155+
Repository("rosidl_dynamic_typesupport", "https://github.com/micro-ROS/rosidl_dynamic_typesupport", "rolling"),
131156
Repository("rosidl_core", "https://github.com/ros2/rosidl_core", "rolling"),
132157
Repository("rmw", "https://github.com/ros2/rmw", "rolling"),
133158
Repository("rcl_interfaces", "https://github.com/ros2/rcl_interfaces", "rolling"),
134159
Repository("rosidl_defaults", "https://github.com/ros2/rosidl_defaults", "rolling"),
135-
Repository("rosidl_dynamic_typesupport", "https://github.com/micro-ROS/rosidl_dynamic_typesupport", "rolling"),
136160
Repository("unique_identifier_msgs", "https://github.com/ros2/unique_identifier_msgs", "rolling"),
137161
Repository("common_interfaces", "https://github.com/ros2/common_interfaces", "rolling"),
138162
Repository("test_interface_files", "https://github.com/ros2/test_interface_files", "rolling"),
139163
Repository("rmw_implementation", "https://github.com/ros2/rmw_implementation", "rolling"),
140164
Repository("rcl_logging", "https://github.com/ros2/rcl_logging", "rolling"),
141165
Repository("ros2_tracing", "https://github.com/ros2/ros2_tracing", "rolling"),
142-
],
143-
'foxy': [
144-
Repository("micro-CDR", "https://github.com/eProsima/micro-CDR", "foxy", "ros2"),
145-
Repository("Micro-XRCE-DDS-Client", "https://github.com/eProsima/Micro-XRCE-DDS-Client", "foxy", "ros2"),
146-
Repository("rcl", "https://github.com/micro-ROS/rcl", "foxy"),
147-
Repository("rclc", "https://github.com/ros2/rclc", "foxy"),
148-
Repository("rcutils", "https://github.com/micro-ROS/rcutils", "foxy"),
149-
Repository("micro_ros_msgs", "https://github.com/micro-ROS/micro_ros_msgs", "foxy"),
150-
Repository("rmw-microxrcedds", "https://github.com/micro-ROS/rmw-microxrcedds", "foxy"),
151-
Repository("rosidl_typesupport", "https://github.com/micro-ROS/rosidl_typesupport", "foxy"),
152-
Repository("rosidl_typesupport_microxrcedds", "https://github.com/micro-ROS/rosidl_typesupport_microxrcedds", "foxy"),
153-
Repository("tinydir_vendor", "https://github.com/ros2/tinydir_vendor", "foxy", "master"),
154-
Repository("rosidl", "https://github.com/ros2/rosidl", "foxy"),
155-
Repository("rmw", "https://github.com/ros2/rmw", "foxy"),
156-
Repository("rcl_interfaces", "https://github.com/ros2/rcl_interfaces", "foxy"),
157-
Repository("rosidl_defaults", "https://github.com/ros2/rosidl_defaults", "foxy"),
158-
Repository("unique_identifier_msgs", "https://github.com/ros2/unique_identifier_msgs", "foxy"),
159-
Repository("common_interfaces", "https://github.com/ros2/common_interfaces", "foxy"),
160-
Repository("test_interface_files", "https://github.com/ros2/test_interface_files", "foxy"),
161-
Repository("rmw_implementation", "https://github.com/ros2/rmw_implementation", "foxy"),
162-
Repository("rcl_logging", "https://github.com/ros2/rcl_logging", "foxy"),
163-
Repository("ros2_tracing", "https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing", "foxy", "foxy_microros"),
164166
]
165167
}
166168

167169
ignore_packages = {
168170
'humble': ['rcl_logging_log4cxx', 'rcl_logging_spdlog', 'rcl_yaml_param_parser', 'rclc_examples'],
169-
'rolling': ['test_tracetools', 'rcl_logging_spdlog', 'rcl_yaml_param_parser', 'rclc_examples'],
170-
'foxy': [ 'rosidl_typesupport_introspection_c', 'rosidl_typesupport_introspection_cpp', 'rcl_logging_log4cxx', 'rcl_logging_spdlog', 'rcl_yaml_param_parser', 'rclc_examples']
171+
'iron': ['test_tracetools', 'rcl_logging_spdlog', 'rcl_yaml_param_parser', 'rclc_examples'],
172+
'rolling': ['test_tracetools', 'rcl_logging_spdlog', 'rcl_yaml_param_parser', 'rclc_examples']
171173
}

0 commit comments

Comments
 (0)