Skip to content

Commit

Permalink
Fix incorrect default sensors transform for beam and IMU (#635)
Browse files Browse the repository at this point in the history
[BUGFIX] The default values of the IMU to sensor transform and beam to LiDAR transform is incorrect, they are swapped.
  • Loading branch information
wrsolichin authored Jan 8, 2025
1 parent 8495190 commit 4591582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ouster_client/src/sensor_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ sensor_info default_sensor_info(lidar_mode mode) {
info.beam_altitude_angles = gen1_altitude_angles;
info.lidar_origin_to_beam_origin_mm =
default_lidar_origin_to_beam_origin(info.prod_line);
info.beam_to_lidar_transform = default_imu_to_sensor_transform;
info.imu_to_sensor_transform =
info.beam_to_lidar_transform =
default_beam_to_lidar_transform(info.prod_line);
info.imu_to_sensor_transform = default_imu_to_sensor_transform;
info.lidar_to_sensor_transform = default_lidar_to_sensor_transform;
info.extrinsic = mat4d::Identity();
info.init_id = 0;
Expand Down

0 comments on commit 4591582

Please sign in to comment.