Skip to content

Commit

Permalink
Part of review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nebraszka committed Jun 4, 2024
1 parent 6d1d59a commit 29eaf52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/graph/multiReturnTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ class GraphMultiReturn : public RGLTest
spawnCubeOnScene(Mat3x4f::translation(2 * stepDepth, 0.0f, 2 * stepHeight) * firstCubeTf);
}

float mmToMeters(float mm) const { return mm * 0.001f; }
constexpr float mmToMeters(float mm) const { return mm * 0.001f; }
};

/**
* This test verifies the accuracy of multiple return handling for the data specified for LiDAR VLP16
* by firing a single beam into a cube and making sure the first and last hits are correctly calculated.
*/
TEST_F(GraphMultiReturn, VLP16_data_compare)
TEST_F(GraphMultiReturn, vlp16_data_compare)
{
// Lidar
const std::vector<rgl_mat3x4f> raysTf{Mat3x4f::TRS({0.0f, 0.0f, 0.0f}, {90.0f, 0.0f, -90.0f}).toRGL()};
Expand Down

0 comments on commit 29eaf52

Please sign in to comment.