Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
huemerj committed Oct 4, 2023
1 parent 4f33033 commit 5d25e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gz_ros2_control/src/gz_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ hardware_interface::return_type GazeboSimSystem::write(
{this->dataPtr->joints_[i].joint_effort_cmd});
}
} else if (this->dataPtr->joints_[i].is_actuated_) {
// Fallback case is a velocity command of zero
// Fallback case is a velocity command of zero (only for actuated joints)
double target_vel = 0.0;
auto vel =
this->dataPtr->ecm->Component<sim::components::JointVelocityCmd>(
Expand Down

0 comments on commit 5d25e16

Please sign in to comment.