Latency in publisher/subscriber
Hello everyone,
In a somewhat big project i'm working on, I'm stubbling on an issue. I have 2 nodes, one focus on perception and the other one generating speed control order for a UR10 robot. The perception node subscribe on UR10 controller current position topic, do some data treatment, forward it to the node in charge of control. Issue is : perception node receive and update position close to real time. Subscriber to perception is called at the right frequency. Data received is old. First thing coming to mind is queue size too big. I updated all my queue to be sized 1, still have the issue. Anyone got a lead? Ros version is Kinetic