diff --git a/script/local.py b/script/local.py index 95f3322..f2d896c 100644 --- a/script/local.py +++ b/script/local.py @@ -25,7 +25,8 @@ class RobotTCP(TcpDevice): if (self.trailer != None): tx = tx + self.trailer rx = self.sendReceive(tx, None, self.trailer , 0, self.timeout, self.retries) self.getLogger().finer("RX = " + str(rx)) - if rx[:3] != msg_id: + if rx[:3] != msg_id: + print rx raise Exception("Received invalid message id: " + str(rx[:3]) + " - expecting:" + msg_id ) if len(rx)<4: raise Exception("Invalid message size: " + str(len(rx)) )