Skip to content

Commit fe5d267

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/systems/mecanum_drive/MecanumDrive.cc

+2-3
Original file line numberDiff line numberDiff line change
@@ -566,16 +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],
578-
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));
579578

580579
// Throttle publishing
581580
auto diff = _info.simTime - this->lastOdomPubTime;

0 commit comments

Comments
 (0)