Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Jun 9, 2024
1 parent 313004a commit 135f9fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gz_ros2_control/src/gz_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ hardware_interface::return_type GazeboSimSystem::read(
const rclcpp::Duration & /*period*/)
{
for (unsigned int i = 0; i < this->dataPtr->joints_.size(); ++i) {
if(this->dataPtr->joints_[i].sim_joint == sim::kNullEntity) {
if (this->dataPtr->joints_[i].sim_joint == sim::kNullEntity) {
continue;
}

Expand Down Expand Up @@ -605,7 +605,7 @@ hardware_interface::return_type GazeboSimSystem::write(
const rclcpp::Duration & /*period*/)
{
for (unsigned int i = 0; i < this->dataPtr->joints_.size(); ++i) {
if(this->dataPtr->joints_[i].sim_joint == sim::kNullEntity) {
if (this->dataPtr->joints_[i].sim_joint == sim::kNullEntity) {
continue;
}

Expand Down

0 comments on commit 135f9fe

Please sign in to comment.