Skip to content

Commit

Permalink
fix code style violation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasBihlmaier committed Jun 16, 2024
1 parent 59ef8f0 commit 15830d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gz_ros2_control/src/gz_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,9 @@ hardware_interface::return_type GazeboSimSystem::read(
}
// Calculate the scalar effort along the joint axis
this->dataPtr->joints_[i].joint_effort = force_or_torque.dot(
gz::physics::Vector3d{this->dataPtr->joints_[i].joint_axis.Xyz()[0],
this->dataPtr->joints_[i].joint_axis.Xyz()[1],
this->dataPtr->joints_[i].joint_axis.Xyz()[2]});
gz::physics::Vector3d{this->dataPtr->joints_[i].joint_axis.Xyz()[0],
this->dataPtr->joints_[i].joint_axis.Xyz()[1],
this->dataPtr->joints_[i].joint_axis.Xyz()[2]});
}

for (unsigned int i = 0; i < this->dataPtr->imus_.size(); ++i) {
Expand Down

0 comments on commit 15830d5

Please sign in to comment.