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

Iron release #101

Merged
merged 1 commit into from
Jun 9, 2023
Merged
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ This package support the usage of micro-ROS on top of two different middlewares:
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.

```bash
docker pull microros/micro_ros_static_library_builder:rolling
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
docker pull microros/micro_ros_static_library_builder:iron
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
```

1. Modify your `main.c` to use micro-ROS. An example application can be found in `sample_main.c`.
Expand All @@ -77,7 +77,7 @@ micro-ROS can be used with SMT32CubeIDE following these steps:
2. Go to `Project -> Settings -> C/C++ Build -> Settings -> Build Steps Tab` and in `Pre-build steps` add:

```bash
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
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
```

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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ros2 run micro_ros_setup create_firmware_ws.sh generate_lib
pushd firmware/mcu_ws > /dev/null

# Workaround: Copy just tf2_msgs
git clone -b rolling https://github.com/ros2/geometry2
git clone -b iron https://github.com/ros2/geometry2
cp -R geometry2/tf2_msgs ros2/tf2_msgs
rm -rf geometry2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ros2 run micro_ros_setup create_firmware_ws.sh generate_lib
pushd firmware/mcu_ws > /dev/null

# Workaround: Copy just tf2_msgs
git clone -b rolling https://github.com/ros2/geometry2
git clone -b iron https://github.com/ros2/geometry2
cp -R geometry2/tf2_msgs ros2/tf2_msgs
rm -rf geometry2

Expand Down