We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da121f commit 53bd16aCopy full SHA for 53bd16a
localization/yabloc/yabloc_common/src/extract_line_segments.cpp
@@ -20,7 +20,7 @@ pcl::PointCloud<pcl::PointNormal> extract_near_line_segments(
20
const pcl::PointCloud<pcl::PointNormal> & line_segments, const Sophus::SE3f & transform,
21
const float max_range)
22
{
23
- constexpr double sqrt_two = std::sqrt(2);
+ constexpr double sqrt_two = 1.41421356237309504880;
24
const Eigen::Vector3f pose_vector = transform.translation();
25
26
// All line segments contained in a square with max_range on one side must be taken out,
0 commit comments