docker
ros2
in jazzy
micro-ros-agent
injazzy
control_msgs
Either install the dependencies locally via the system's package manager, or build from source
git submodule update --init --recursive
docker pull microros/micro_ros_static_library_builder:jazzy
docker run -it --rm -v $(pwd):/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library microros/micro_ros_static_library_builder:jazzy
Or just the use the convenient script micro_ros_static_lib_gen.sh
- assign a local IP address and a gateway address in
stm32cubemx
, which should be from the same subnet as micro-ROS agent, and regenerate the configuration files and compile