Skip to content

Commit 50da18d

Browse files
authored
fix(hesai_hw_interfaces): slightly widen FoV (#353)
* widen FoV Signed-off-by: Kento Yabuuchi <[email protected]> * enlarge the margin Signed-off-by: Kento Yabuuchi <[email protected]> --------- Signed-off-by: Kento Yabuuchi <[email protected]>
1 parent 998b685 commit 50da18d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nebula_common/include/nebula_common/hesai/hesai_common.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,12 @@ struct HesaiCalibrationConfiguration : public HesaiCalibrationConfigurationBase
219219
max = std::max(max, item.second);
220220
}
221221

222+
// NOTE: Slightly widen the FOV padding because some LiDARs do not transmit blocks near the end
223+
// of the FOV. If these blocks are missing, the point cloud may not be published at the desired
224+
// timing.
225+
min -= 1.0f;
226+
max += 1.0f;
227+
222228
return {-max, -min};
223229
}
224230
};

0 commit comments

Comments
 (0)