Skip to content

Commit

Permalink
make linters happy
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde committed Feb 16, 2022
1 parent 04eb6eb commit 951cda3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/systems/joint_state_publisher/JointStatePublisher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,14 @@ void JointStatePublisher::PostUpdate(const UpdateInfo &_info,
if (jointAxis)
{
msgs::Set(
jointMsg->mutable_axis1()->mutable_xyz(), jointAxis->Data().Xyz());
jointMsg->mutable_axis1()->set_limit_upper(jointAxis->Data().Upper());
jointMsg->mutable_axis1()->set_limit_lower(jointAxis->Data().Lower());
jointMsg->mutable_axis1()->set_damping(jointAxis->Data().Damping());
jointMsg->mutable_axis1()->mutable_xyz(),
jointAxis->Data().Xyz());
jointMsg->mutable_axis1()->set_limit_upper(
jointAxis->Data().Upper());
jointMsg->mutable_axis1()->set_limit_lower(
jointAxis->Data().Lower());
jointMsg->mutable_axis1()->set_damping(
jointAxis->Data().Damping());
}
}
else if (i == 1)
Expand Down

0 comments on commit 951cda3

Please sign in to comment.