Skip to content

Commit

Permalink
Correction on controlBoard_nws_ros2 velocityTopic callback
Browse files Browse the repository at this point in the history
  • Loading branch information
elandini84 committed Sep 8, 2023
1 parent e812cf5 commit ecd8b51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void ControlBoard_nws_ros2::velocityTopic_callback(const yarp_control_msgs::msg:
}
convertedVel.push_back(tempVel);
}
if(!noJoints){
if(noJoints){
if(!noAccel){
m_iVelocityControl->setRefAccelerations(&convertedAccel[0]);
}
Expand Down

0 comments on commit ecd8b51

Please sign in to comment.