Time Sync between rosserial on Windows & RosMaster on linux
The problem is: how can I sync time between rosserial node on Windows xp and RosMaster on Linux.
A robot controlled by WinXP is communicating to ROSMaster on a ubuntu14.04. Everything was ok until I relized that there is always a 30+- seconds delay between the ros::time::now() output on two different machines. Based on the posts I have read before, ros nodes use local time to do ros::time::now(). I know I can estimate and offset this delay on master side. But I want to take the transmission delay into account.
So...Thanks for reading this. And is there an easy way to sync the timestamp from both message senders?
Have you seen the network setup page on the wiki? Also, do you really mean Windows XP?
Lol yes, WindowsXP, those industrial arm loves old sys and RAMs that less than 512MB. They get a little panic when facing big RAMS.