micro-ROS/micro_ros_stm32cubemx_utils

How to add custom message with micro_ros_stm32cubemx_utils

rusuanjun007 opened this issue · 1 comments

Hi everyone,

I am new to micro-ROS and I wish to know if is there any method that I can define custom .msg file using the micro_ros_stm32cubemx_utils. I found a tutorial in

https://micro.ros.org/docs/tutorials/advanced/create_new_type/

However, it is based on the setup in

https://micro.ros.org/docs/tutorials/core/first_application_rtos/

I am confused about how can I define a custom message with the setup of micro_ros_stm32cubemx_utils, because I didn't find "firmware/mcu_ws" folder mentioned in the tutorial. Is it because micro_ros_stm32cubemx_utils build is based on the Docker? Maybe I need to modify the library generation file?

/micro_ros_stm32cubemx_utils/microros_static_library_ide/library_generation.sh

Appreciate your great help!

Hi,

I found a useful tip for adding a custom message and it is successful.

https://github.com/micro-ROS/micro_ros_arduino/issues/14#issuecomment-722242175

The custom msg should be created in the folder just as usual ros2 message

micro_ros_stm32cubemx_utils/microros_static_library_ide/library_generation/extra_packages