Skip to content

Commit

Permalink
changed for line limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Dre Westcook committed Feb 9, 2021
1 parent a54e3f4 commit 29e9cae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/SatNav.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,13 @@ bool SatNav::operator==(const SatNav &_satnav) const
{
if (this->dataPtr->verticalPositionNoise != _satnav.VerticalPositionNoise())
return false;
if (this->dataPtr->horizontalPositionNoise != _satnav.HorizontalPositionNoise())
if (this->dataPtr->horizontalPositionNoise !=
_satnav.HorizontalPositionNoise())
return false;
if (this->dataPtr->verticalVelocityNoise != _satnav.VerticalVelocityNoise())
return false;
if (this->dataPtr->horizontalVelocityNoise != _satnav.HorizontalVelocityNoise())
if (this->dataPtr->horizontalVelocityNoise !=
_satnav.HorizontalVelocityNoise())
return false;

return true;
Expand Down
3 changes: 2 additions & 1 deletion test/integration/link_dom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ TEST(DOMLink, Sensors)
ASSERT_NE(nullptr, satNavSensor);
EXPECT_EQ("satnav_sensor", satNavSensor->Name());
EXPECT_EQ(sdf::SensorType::SATNAV, satNavSensor->Type());
EXPECT_EQ(ignition::math::Pose3d(13, 14, 15, 0, 0, 0), satNavSensor->RawPose());
EXPECT_EQ(ignition::math::Pose3d(13, 14, 15, 0, 0, 0),
satNavSensor->RawPose());
const sdf::SatNav *satNavSensorObj = satNavSensor->SatNavSensor();
ASSERT_NE(nullptr, satNavSensorObj);

Expand Down

0 comments on commit 29e9cae

Please sign in to comment.