Robotics StackExchange | Archived questions

How is the data synchronized while using multiple ROS nodes ?

How to be sure that which time stamps would be used amongst different nodes for analyzing the data ? There would definitely be delays in communication. How can we keep a synchronized time stamp ?

Asked by aks on 2018-04-20 04:56:51 UTC

Comments

Your first question is unclear. Can you provide details about your setup (publisher and subscribers)?

Asked by mohsen on 2018-04-22 12:44:54 UTC

@mohsen lets say i am using it for a Virtual Testing application for vehicles. In that case, lets say I have 2 nodes, namely Drivetrain (including everything in a car except engine) and engine. No lets say to drive a vehicle, engine would give a torque which would go through the drivetrain ctd.

Asked by aks on 2018-04-23 01:57:18 UTC

and move the vehicle. In return the drivetrain would give a speed in response to engine's torque to make a closed loop. Now lets say these 2 modes are running on different machines but are in a closed loop. Now to analyze the results, which time stamps would be used ?

Asked by aks on 2018-04-23 01:59:08 UTC

Answers