Skip to content

Commit

Permalink
fix code style violation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasBihlmaier authored and christophfroehlich committed Oct 26, 2024
1 parent b200dc8 commit 1b1c12f
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 @@ -568,9 +568,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 1b1c12f

Please sign in to comment.