Skip to content

Commit f388501

Browse files
committed
FIX: mola-lidar-odometry-cli now can handle the two types of GPS messages too
1 parent d3dd166 commit f388501

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/mola-lidar-odometry-cli.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ std::shared_ptr<mola::OfflineDatasetSource> dataset_from_rosbag2(
323323
use_fixed_sensor_pose: ${MOLA_USE_FIXED_LIDAR_POSE|false}
324324
- topic: ${MOLA_GNSS_TOPIC|'/gps'}
325325
sensorLabel: 'gps'
326-
type: CObservationGPS
326+
#type: CObservationGPS # This will be determined automatically by Rosbag2Dataset
327+
is_optional: true
327328
fixed_sensor_pose: "${GPS_POSE_X|0} ${GPS_POSE_Y|0} ${GPS_POSE_Z|0} ${GPS_POSE_YAW|0} ${GPS_POSE_PITCH|0} ${GPS_POSE_ROLL|0}" # 'x y z yaw_deg pitch_deg roll_deg'
328329
use_fixed_sensor_pose: ${MOLA_USE_FIXED_GNSS_POSE|false}
329330
- topic: '%s'

0 commit comments

Comments
 (0)