-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session with microros agent is constantly re-established #62
Comments
@Acuadros95 can you take a look? |
Hi @leoborgnino:
|
Hi Pablo and Antonio, thanks for the fast reply!
EDIT: Debugging I see a (i think) strange behaviour: timeouts are not working (ie: rmw_uros_agent()). It only hangs there forever and when I pause the execution with debugger, it is waiting in task manager of FreeRTOS. |
Could you share your code, so we can replicate on our side? |
Hi Antonio, The code is in: https://github.com/leoborgnino/microros-stm32f407 Steps (I think you guys know this but can be an error for my side in the steps):
Thanks for the help! |
Hi, I have just tested the DMA transport on a F746 and its looking good. Some ideas based on your instructions:
Please check this points and give feedback. |
Hi Antonio, I'm off on holidays until 12 Jul. I will test that and write you back, thanks! |
Closing, reopen if the problem persist when you come back! |
I hv the same issue any idea how to fix it? |
I reinstalled everything in another machine, and it worked, so I’m not really sure what the issue was. |
it was working previously for me. Then after reinstallation of ubuntu it stopped working.. |
Issue template
Steps to reproduce the issue
Follow micro_ros_stm32cubemx_utils. I'm using UART and DMA approach. From PC side I'm using docker run -it --rm --net=host -v /dev:/dev --privileged microros/micro-ros-agent:galactic serial --dev /dev/ttyUSB0 -b 115200 -v6
Expected behavior
Handshake between MCU and MicroROS agent. Discover topics on ROS2.
Actual behavior
Session is constantly re-established. DDS log never comes up. Serial data seems to be sent and received. (Log added in Additional information).
Additional information
This behaviour is constantly repeated through time, this is only the first lines. In MCU side, code hangs in rclc_support_init().
If I use minicom I can see MCU sending data at 115200b.
I don't know the reason of this behaviour (I don't have much knowledge of DDS layer)
Any help would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: