File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
microros_static_library_ide/library_generation
microros_static_library/library_generation Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ This package support the usage of micro-ROS on top of two different middlewares:
58
58
6 . Execute the static library generation tool. Compiler flags will retrieved automatically from your ` Makefile ` and user will be prompted to check if they are correct.
59
59
60
60
``` bash
61
- docker pull microros/micro_ros_static_library_builder:rolling
62
- docker run -it --rm -v $( pwd) :/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library microros/micro_ros_static_library_builder:rolling
61
+ docker pull microros/micro_ros_static_library_builder:iron
62
+ docker run -it --rm -v $( pwd) :/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library microros/micro_ros_static_library_builder:iron
63
63
```
64
64
65
65
1 . Modify your ` main.c ` to use micro-ROS. An example application can be found in ` sample_main.c ` .
@@ -77,7 +77,7 @@ micro-ROS can be used with SMT32CubeIDE following these steps:
77
77
2 . Go to ` Project -> Settings -> C/C++ Build -> Settings -> Build Steps Tab ` and in ` Pre-build steps ` add:
78
78
79
79
``` bash
80
- docker pull microros/micro_ros_static_library_builder:rolling && docker run --rm -v ${workspace_loc:/ ${ProjName} } :/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library_ide microros/micro_ros_static_library_builder:rolling
80
+ docker pull microros/micro_ros_static_library_builder:iron && docker run --rm -v ${workspace_loc:/ ${ProjName} } :/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library_ide microros/micro_ros_static_library_builder:iron
81
81
```
82
82
83
83
3 . Add micro-ROS include directory. In ` Project -> Settings -> C/C++ Build -> Settings -> Tool Settings Tab -> MCU GCC Compiler -> Include paths ` add ` micro_ros_stm32cubemx_utils/microros_static_library_ide/libmicroros/include `
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ ros2 run micro_ros_setup create_firmware_ws.sh generate_lib
19
19
pushd firmware/mcu_ws > /dev/null
20
20
21
21
# Workaround: Copy just tf2_msgs
22
- git clone -b rolling https://github.com/ros2/geometry2
22
+ git clone -b iron https://github.com/ros2/geometry2
23
23
cp -R geometry2/tf2_msgs ros2/tf2_msgs
24
24
rm -rf geometry2
25
25
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ ros2 run micro_ros_setup create_firmware_ws.sh generate_lib
38
38
pushd firmware/mcu_ws > /dev/null
39
39
40
40
# Workaround: Copy just tf2_msgs
41
- git clone -b rolling https://github.com/ros2/geometry2
41
+ git clone -b iron https://github.com/ros2/geometry2
42
42
cp -R geometry2/tf2_msgs ros2/tf2_msgs
43
43
rm -rf geometry2
44
44
You can’t perform that action at this time.
0 commit comments