deskewing: added console logging, handling case where timestamps are not ordered in lidar rings

This commit is contained in:
matlabbe
2023-09-10 15:56:23 -07:00
parent 40a9fd2f2d
commit 2c46b2b3ad
2 changed files with 103 additions and 10 deletions
+2
View File
@@ -26,10 +26,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "rtabmap_util/lidar_deskewing.hpp"
#include "rtabmap/utilite/ULogger.h"
#include "rclcpp/rclcpp.hpp"
int main(int argc, char **argv)
{
ULogger::setType(ULogger::kTypeConsole);
rclcpp::init(argc, argv);
rclcpp::spin(std::make_shared<rtabmap_util::LidarDeskewing>(rclcpp::NodeOptions()));
rclcpp::shutdown();