Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
  • Loading branch information
iche033 committed Feb 9, 2021
1 parent bd203a2 commit ea8b55d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/rendering/RenderUtil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -811,10 +811,8 @@ void RenderUtil::Update()
<< " Value must be greater than 0. Using the default value: "
<< camera->LinearResolution() << ". " << std::endl;
}

double minTemp = std::get<1>(thermal.second).min.Kelvin();
double maxTemp = std::get<1>(thermal.second).max.Kelvin();

if (maxTemp >= minTemp)
{
camera->SetMinTemperature(minTemp);
Expand Down
2 changes: 1 addition & 1 deletion test/integration/thermal_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ TEST_F(ThermalTest, ThermalSensorSystemInvalidConfig)
unsigned int defaultResolution = 3u;
unsigned int cylinderTemp = g_image[leftIdx] * defaultResolution;
unsigned int sphereTemp = g_image[rightIdx] * defaultResolution;
// default resolution, min, max valuse used so we should get correct
// default resolution, min, max values used so we should get correct
// temperature value
EXPECT_EQ(600u, sphereTemp);
// 8 bit 3 degree resolution camera - this value should be clamped
Expand Down

0 comments on commit ea8b55d

Please sign in to comment.