ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
And is there an easy way to sync the timestamp from both message senders?
Yes. Use a time synchronisation system that is cross-platform.
And two are mentioned on the page @jayess linked to (specifically this section): NTP and Chrony.
Chrony may not exist for Windows, but NTP clients certainly do.
I'd recommend to sync the clocks of both your Linux machine and your Windows PC to an external time reference using that.
Please note: due to clock drift inherent in the cheap clocks used in PCs, you'll have to periodically resync everything. Most NTP clients will allow you to setup some sort of schedule.
Edit: most Windows versions should already come with an NTP client ("use internet time"). You should just need to setup your Linux machine then.