micro-ROS / micro-ROS/micro_ros_stm32cubemx_utils
STM32 and ROS 2 Humble connection problem
- Dominant language
- C
- Stars
- 275
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
I am using the STM32F411 Discovery board and working with STM32CubeIDE. I followed the STM32CubeIDE configuration steps provided in this repository. However, when I run the command ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyUSB0 -v6, the output is as follows
```
000: 81 80 9C 07 07 01 08 00 07 A6 00 05 98 07 00 00
[1716277666.851664] debug | DataWriter.cpp | write | [** <> **] | client_key: 0x00000000, len: 4, data:
0000: 98 07 00 00
[1716277666.851836] debug | SerialAgentLinux.cpp | send_message | [** <> **] | client_key: 0x45402441, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 9D 07 00 00 80
[1716277666.868476] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x45402441, len: 16, data:
0000: 81 80 9D 07 07 01 08 00 07 A7 00 05 99 07 00 00
[1716277666.868647] debug | DataWriter.cpp | write | [** <> **] | client_key: 0x00000000, len: 4, data:
0000: 99 07 00 00
[1716277666.868796] debug | SerialAgentLinux.cpp | send_message | [** <> **] | client_key: 0x45402441, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 9E 07 00 00 80
[1716277666.885429] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x45402441, len: 16, data:
0000: 81 80 9E 07 07 01 08 00 07 A8 00 05 9A 07 00 00
[1716277666.885641] debug | DataWriter.cpp | write | [** <> **] | client_key: 0x00000000, len: 4, data:
0000: 9A 07 00 00
[1716277666.885805] debug | SerialAgentLinux.cpp | send_message | [** <> **] | client_key: 0x45402441, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 9F 07 00 00 80
[1716277666.902445] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x45402441, len: 16, data:
0000: 81 80 9F 07 07 01 08 00 07 A9 00 05 9B 07 00 00
[1716277666.902643] debug | DataWriter.cpp | write | [** <> **] | client_key: 0x00000000, len: 4, data:
0000: 9B 07 00 00
[1716277666.902794] debug | SerialAgentLinux.cpp | send_message | [** <> **] | client_key: 0x45402441, len: 13, data:
```
Contributor guide
Research direction
Start with the STM32CubeIDE configuration steps in this repository and reproduce the command `ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyUSB0 -v6` using the STM32F411 Discovery board. Inspect the reported serial and DDS exchange to determine why the connection does not complete; done means documenting or fixing the configuration so the board connects successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, robotics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100