Skip to content

Commit

Permalink
bugfix in handleTorqueMsg
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiraz committed Aug 31, 2023
1 parent 9227b75 commit 0f5cd47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devices/controlBoard_nws_yarp/RPCMessagesParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ void RPCMessagesParser::handleTorqueMsg(const yarp::os::Bottle& cmd,
break;
}

if (b->size() != 8) {
yCError(CONTROLBOARD, "received a SET VOCAB_MOTOR_PARAMS command not understood, size != 8");
if (b->size() != 9) {
yCError(CONTROLBOARD, "received a SET VOCAB_MOTOR_PARAMS command not understood, size != 9");
break;
}

Expand Down

0 comments on commit 0f5cd47

Please sign in to comment.