Hi,
I just found a bug when launching the tutorial in the docker environment. The log can be found in ov_maplab based on the 'ros1_serial_msckf.cpp' in 225. It is raised by the view_imu_iter nullptr when executing the final frame of the rosbag. I fixed the bug based on adding the code:
if (should_process_imu) {
viz->callback_inertial(msg_imu_current);
builder->callback_inertial(msg_imu_current);
msg_imu_current = msg_imu_next;
view_imu_iter++;
if (view_imu_iter == view_imu->end())
break;
msg_imu_next = view_imu_iter->instantiate<sensor_msgs::Imu>();
continue;
}
Hi, I just found a bug when launching the tutorial in the docker environment. The log can be found in ov_maplab based on the 'ros1_serial_msckf.cpp' in 225. It is raised by the view_imu_iter nullptr when executing the final frame of the rosbag. I fixed the bug based on adding the code:
Please check it and merge it, thanks.