MISTLab / Swarm-SLAM

Sparse Decentralized Collaborative Simultaneous Localization and Mapping Framework for Multi-Robot Systems
https://lajoiepy.github.io/cslam_documentation/html/index.html
MIT License
391 stars 40 forks source link

Topics must be synchronized #37

Closed mjforan closed 4 months ago

mjforan commented 5 months ago

Another tip for the documentation: For visual (RGBD/Stereo) SLAM, all input topics must be synchronized (image, camera_info, odometry). If the timestamps are not approximately the same then the filter will drop messages and the frontend will do nothing. This can happen if nodes are running on different computers with a clock offset or if some topics are being replayed from a bag.

lajoiepy commented 4 months ago

Sorry for the delayed response. Thanks for pointing this out. This is expected behavior since the timestamps are used to associate the odometry messages with the corresponding sensor data frames (images, pointclouds, etc.). I forgot to initially include this in the instructions, so I added a line on this.