mirror of
https://github.com/nasa/trick.git
synced 2025-01-22 04:18:09 +00:00
MTV/variable server crashes if checkpoint has less malfunctions then currently running sim
Added a case statement for the bad ref type to the binary data handler. We handle a bad ref as an integer, because that is what the sim sends us. This fixes MTV. refs #117
This commit is contained in:
parent
4f23b67f65
commit
197caee379
@ -388,6 +388,7 @@ public class VariableServerConnection implements AutoCloseable {
|
|||||||
case 6 : // INT
|
case 6 : // INT
|
||||||
case 7 : // UNSIGNED INT
|
case 7 : // UNSIGNED INT
|
||||||
case 21 : // ENUMERATED
|
case 21 : // ENUMERATED
|
||||||
|
case 24 : // BAD REF
|
||||||
//typename = "INT";
|
//typename = "INT";
|
||||||
ival = (int)convertBinaryData(buffer, index, 4);
|
ival = (int)convertBinaryData(buffer, index, 4);
|
||||||
vals[packet_count] += ival;
|
vals[packet_count] += ival;
|
||||||
|
Loading…
Reference in New Issue
Block a user