Skip to content

Commit 5623fba

Browse files
committed
remove white spaces
Signed-off-by: Stefano Mutti <mutti.stefano.jp@gmail.com>
1 parent ee0fc38 commit 5623fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/mecanum_drive/MecanumDrive.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -566,15 +566,15 @@ void MecanumDrivePrivate::UpdateOdometry(const UpdateInfo &_info,
566566
auto frontRightPos = _ecm.Component<components::JointPosition>(this->frontRightJoints[0]);
567567
auto backLeftPos = _ecm.Component<components::JointPosition>(this->backLeftJoints[0]);
568568
auto backRightPos = _ecm.Component<components::JointPosition>(this->backRightJoints[0]);
569-
569+
570570
// Abort if the joints were not found or just created.
571571
if (!frontLeftPos || !frontRightPos || !backLeftPos || !backRightPos ||
572572
frontLeftPos->Data().empty() || frontRightPos->Data().empty() || backLeftPos->Data().empty() || backRightPos->Data().empty())
573573
{
574574
return;
575575
}
576576

577-
this->odom.Update(frontLeftPos->Data()[0],frontRightPos->Data()[0],backLeftPos->Data()[0],backRightPos->Data()[0],std::chrono::steady_clock::time_point(_info.simTime));
577+
this->odom.Update(frontLeftPos->Data()[0],frontRightPos->Data()[0],backLeftPos->Data()[0],backRightPos->Data()[0],std::chrono::steady_clock::time_point(_info.simTime));
578578

579579
// Throttle publishing
580580
auto diff = _info.simTime - this->lastOdomPubTime;

0 commit comments

Comments
 (0)