We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b200dc8 commit 1b1c12fCopy full SHA for 1b1c12f
gz_ros2_control/src/gz_system.cpp
@@ -568,9 +568,9 @@ hardware_interface::return_type GazeboSimSystem::read(
568
}
569
// Calculate the scalar effort along the joint axis
570
this->dataPtr->joints_[i].joint_effort = force_or_torque.dot(
571
- gz::physics::Vector3d{this->dataPtr->joints_[i].joint_axis.Xyz()[0],
572
- this->dataPtr->joints_[i].joint_axis.Xyz()[1],
573
- 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]});
574
575
576
for (unsigned int i = 0; i < this->dataPtr->imus_.size(); ++i) {
0 commit comments