File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -869,10 +869,11 @@ void DynamixelHardware::CalcJointToTransmission()
869869 }
870870
871871 for (size_t i = 0 ; i < num_of_transmissions_; i++) {
872- if (hdl_trans_commands_.at (i).interface_name_vec .size () > GOAL_CURRENT_INDEX &&
873- hdl_trans_commands_.at (i).interface_name_vec .at (GOAL_CURRENT_INDEX) == " Goal Current" ) {
874- for (size_t j = 0 ; j < hdl_joint_commands_.size (); j++) {
875- if (hdl_joint_commands_.at (j).interface_name_vec .size () > GOAL_CURRENT_INDEX &&
872+ if (hdl_trans_commands_.at (i).interface_name_vec .size () > GOAL_CURRENT_INDEX &&
873+ hdl_trans_commands_.at (i).interface_name_vec .at (GOAL_CURRENT_INDEX) == " Goal Current" )
874+ {
875+ for (size_t j = 0 ; j < hdl_joint_commands_.size (); j++) {
876+ if (hdl_joint_commands_.at (j).interface_name_vec .size () > GOAL_CURRENT_INDEX &&
876877 hdl_joint_commands_.at (j).interface_name_vec .at (GOAL_CURRENT_INDEX) ==
877878 hardware_interface::HW_IF_EFFORT)
878879 {
You can’t perform that action at this time.
0 commit comments