micro_ros_setup: Conflicting instructions on how to add a custom message
According to https://micro.ros.org/docs/tutorials/advanced/create_new_type/
I added a new message in firmware/mcu_ws/custom_msg/msg/custom_msg.msg
But when I recompile it I get:
# ros2 run micro_ros_setup create_firmware_ws.sh mbed PORTENTA_H7_M7
Firmware already created. Please delete /microros_ws/firmware folder if you want a fresh installation.
I can not delete the firmware directory!!! It contains the files I was told to create!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (8 by maintainers)
Yes I satrted out using the https://github.com/micro-ROS/micro_ros_mbed repository and contribuited README fixes to that one.
But yes, I soon realized that I could not add custom messages to it, the documentation required some directories that did not get generated. So I switched to
micro_ros_setup
. I got it running today with rolling-ros-base-jammy docker, because mbed requires CMake >= 3.19.It would be great to use the
micro_ros_mbed
repo to add custom messages, It seams to be smaller thanmicro_ros_setup
.