ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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 'flash.sh' 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
0

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

Comments

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

Question Tools

1 follower

Stats

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

Seen: 968 times

Last updated: Jan 25 '21