Robotics StackExchange | Archived questions

rclc_support_init() Function doesnt work and give me an RCL_RET_ERROR back

Hello Microros or ROS2 Community,

Im using Ubuntu 22.04 LTS on an Raspberry Pi 4.0 (Compute Module). Im using a STM32F767ZI with the STM32CubeIDE Version 1.7 with microros stack (microrosstm32cubemx_utils). I can compile and flash the MCU with docker. It still works.

The problem is, that the rclcsupportinit() function doesn`t initialize rcl and doesn´t create some support data structures. Cause They give me a RCLRETERROR back.

Thats the reason i cant create my Publisher.

And so, the communication between both devices doesn´t work with the Agent and the XRCE-DDS-Client on stm32.

In the github Issues I found 3 times the same problem, but they have no solution.

Issue 1: https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/issues/107

Issue 2: https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/issues/82

Issue 3: https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/issues/85

Can anyone help me with this problem? Or get anyone a solution for this problem?

Thank you for your help,

Your Microros Developer Kurwaboy.

Asked by Kurwaboy on 2023-08-11 10:50:26 UTC

Comments

Answers