Hi everyone!
I hope you can help me with this problem that I'm having. I'm trying to broadcast sensory data in ROS2 and going through some difficulties.
Thank you in advance for helping me out! I let you with a brief description of my problem.
Description of the bug
There is an inconsistency in the publishing frequency of sensor data between ROS2 and Unity when using ros_tcp_endpoint. Despite setting the publishing rate to 10Hz for one LiDAR sensor and 100Hz for an IMU, the actual publishing rate observed is significantly lower and inconsistent, being in the case of the IMU around 35Hz. The ros2 topic hz /imu output can be seen:

To Reproduce
Steps to reproduce the behavior:
- I'm using the set of sensors from UnitySensor, which uses ROS_TCP_Connector.
- Setting from IMU and LiDAR:


Environment set up:
- Unity Version: 2023.2.20f1
- Ubuntu 22.04, ROS2 Humble
Hi everyone!
I hope you can help me with this problem that I'm having. I'm trying to broadcast sensory data in ROS2 and going through some difficulties.
Thank you in advance for helping me out! I let you with a brief description of my problem.
Description of the bug
There is an inconsistency in the publishing frequency of sensor data between ROS2 and Unity when using ros_tcp_endpoint. Despite setting the publishing rate to 10Hz for one LiDAR sensor and 100Hz for an IMU, the actual publishing rate observed is significantly lower and inconsistent, being in the case of the IMU around 35Hz. The
ros2 topic hz /imuoutput can be seen:To Reproduce
Steps to reproduce the behavior:
Environment set up: