ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rcl_publish() in subscriber callback issue [micro-ROS]

asked 2021-01-23 07:55:39 -0500

mrDooDude gravatar image

Hi there!

More about the issue: Using rcl_publish() in subscriber callback causes microcontroller freezing. Even external interrupts doesn't work after it freezes. But if there's no rcl_publish() in subscription callback - it works good as it should.

About MCU: stm32 f767zi Nucleo-144 + FreeRTOS.
My desktop software: Ubuntu 20.04 Focal, ROS 2 Foxy.

I made some changes in '' script to be able to flash my MCU.

Named issue was first met when i tried to run ping_pong app (which is mentioned in this tutorial). I receive only first ping - rcl_publish() works well in timer callbacks, must say. But that's it.

Where should i look to explore and solve the problem?
Could be the proper configuring of QoS a solution?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-01-25 00:16:06 -0500

Pablogs gravatar image

Could you please open a Github issue in the micro_ros_setup repo and detail step by step your procedure so we can replicate it?

edit flag offensive delete link more


Thank you for reply! I've just found, that the trouble was not with rcl_publish()... i will open an issue

mrDooDude gravatar image mrDooDude  ( 2021-01-25 13:28:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-01-23 07:55:39 -0500

Seen: 733 times

Last updated: Jan 25 '21