Fix rosbag reader on Euroc
This commit is contained in:
parent
309793ed9e
commit
bece152254
|
@ -194,7 +194,8 @@ class RosbagIO : public DatasetIoInterface {
|
||||||
|
|
||||||
if (info->datatype == std::string("sensor_msgs/Image")) {
|
if (info->datatype == std::string("sensor_msgs/Image")) {
|
||||||
cam_topics.insert(info->topic);
|
cam_topics.insert(info->topic);
|
||||||
} else if (info->datatype == std::string("sensor_msgs/Imu")) {
|
} else if (info->datatype == std::string("sensor_msgs/Imu") &&
|
||||||
|
info->topic.rfind("/fcu", 0) != 0) {
|
||||||
imu_topic = info->topic;
|
imu_topic = info->topic;
|
||||||
} else if (info->datatype ==
|
} else if (info->datatype ==
|
||||||
std::string("geometry_msgs/TransformStamped") ||
|
std::string("geometry_msgs/TransformStamped") ||
|
||||||
|
|
Loading…
Reference in New Issue