-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync input & output timestamps (for e.g. /scan and /map) #376
Comments
You shouldn't have an issue if you have While your suggestion seems very rational, I think it could cause some serious issues downstream for users (hence why I'd like you to try simulation time first). The SLAM system in ROS needs to "lead" the system clock by a little bit in order for no TF transform into future issues to come up. By post dating this, depending on the update rate of the SLAM system and the lidar itself, this could introduce transient issues where a valid TF tree couldn't be found in a real system at run-time if |
I have tried set In my opinion, that is the purpose of |
This seems like a rosbag issue then that should be resolved there. I need to do a little looking into other localization systems in ros to see what best practices are. The major issue I see is if the robot stops, then this wouldnt trigger an update (didnt move or rotate enough) and if it stops for >10s or something, the downstream things using TF would all start to throw a ton of errors since the tf tree is old. Assuming the system is constantly moving isnt representative of most robotics usecases. It looks like you may just take all input scans timestamps but thats deceptive, if you do something like that, it should only be on processed scans. |
OK - I reviewed the PR and just need some small updates |
Feature description
Sync input & output timestamps (/scan and /map)
Implementation considerations
Offline slam tuning by
ros2 bag play
is publishing /tf and all topics data in old timestamps when SlamToolbox is going to publish present timestamps bythis->now()
, this caused TF tree discontinuous and rviz2 can't visualize/map --> /odom
The text was updated successfully, but these errors were encountered: