Skip to content

Commit

Permalink
codecheck fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya <[email protected]>
  • Loading branch information
adityapande-1995 committed Feb 22, 2022
1 parent 98442c9 commit 455454b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/systems/odometry_publisher/OdometryPublisher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ void OdometryPublisher::Configure(const Entity &_entity,
}
else
{
this->dataPtr->offset.Pos() = _sdf->Get<ignition::math::Vector3d>("xyz_offset");
this->dataPtr->offset.Pos() = _sdf->Get<ignition::math::Vector3d>(
"xyz_offset");
}

if (!_sdf->HasElement("rpy_offset"))
Expand All @@ -165,7 +166,8 @@ void OdometryPublisher::Configure(const Entity &_entity,
else
{
this->dataPtr->offset.Rot() =
ignition::math::Quaterniond(_sdf->Get<ignition::math::Vector3d>("rpy_offset"));
ignition::math::Quaterniond(
_sdf->Get<ignition::math::Vector3d>("rpy_offset"));
}

if (!_sdf->HasElement("gaussian_noise"))
Expand Down

0 comments on commit 455454b

Please sign in to comment.