[ros-users] [Discourse.ros.org] [Next Generation ROS] Unreli…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Daniel Giełdowski via ros-users
Date:  
To: ros-users
CC: Daniel Giełdowski
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] Unreliable communication using executors


Hello.
I have a problem I can't solve by myself. I have 2 nodes inheriting from the main Node class, one of them receives data from an IMU and sends it to the other. In the other one frequency of received messages is being calculated.

When I run both nodes separately I get results close to expected ones, so eg for 50Hz publishing I receive messages with ~50Hz frequency, for 25Hz it's also ~25Hz and so on. The issue starts when I try to start both nodes from an executor. In that case when publishing with 50Hz I receive messages with about 37-38 Hz, for 25Hz - ~18-19Hz and so on. Generally for every frequency above 1 Hz I receive messages with about 2/3-3/4 of the publishing frequency. I tried both single-threaded and multi-threaded executor but it doesn't seem to change anything, nor does toggling the intra-process communication in nodes' constructors. I've also tried modifying QoS options of this particular connection on both ends but with no effect.

The publishing node has been confirmed to publish data with configured frequency.





---
[Visit Topic](https://discourse.ros.org/t/unreliable-communication-using-executors/4542/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>