ethz-asl / maplab

A Modular and Multi-Modal Mapping Framework
https://maplab.asl.ethz.ch
Apache License 2.0
2.63k stars 724 forks source link

check timing after each iteration #333

Closed patripfr closed 3 years ago

patripfr commented 3 years ago

This changes make sure we check after each ceres iteration if the optimization time is still below ba_max_time_seconds. Previously it would always perform num_iters, also if already 1 iteration would exceed the time limit.

ethzasl-jenkins commented 3 years ago

Test FAILed.

ethzasl-jenkins commented 3 years ago

Test FAILed.