How is the data synchronized while using multiple ROS nodes ?

asked 2018-04-20 04:56:51 -0500

aks gravatar image

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 ?

edit retag flag offensive close merge delete

Comments

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

mohsen gravatar image mohsen  ( 2018-04-22 12:44:54 -0500 )edit

@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.

aks gravatar image aks  ( 2018-04-23 01:57:18 -0500 )edit

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 ?

aks gravatar image aks  ( 2018-04-23 01:59:08 -0500 )edit