File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -869,10 +869,11 @@ void DynamixelHardware::CalcJointToTransmission()
869
869
}
870
870
871
871
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 &&
876
877
hdl_joint_commands_.at (j).interface_name_vec .at (GOAL_CURRENT_INDEX) ==
877
878
hardware_interface::HW_IF_EFFORT)
878
879
{
You can’t perform that action at this time.
0 commit comments