-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hi there,
I'm using Slicer 4.8.1, and I am attempting to develop a Javascript Implementation of the IGTL packing algorithm for NodeJS. I have gotten to the point where Slicer is reading in my transform, name and all, with no warnings, but the transform received is empty. I believe I have correctly implemented the header with CRC and message correctly, but Slicer does not appear to be reading my message. I tried receiving a simple transform from Slicer, and it looks like the message I received does not follow the format I expected.
Here is an example transform message I am sending (no rotation, and +10mm in X, Y, and Z):
00015452414e53464f524d0000006530000000000000000000000000000000000000000000000000000000000000000000307842ab4c3f4df49b3f8000000000000000000000000000003f8000000000000000000000000000003f800000412000004120000041200000
106 bytes
And here is that exact same transform sent to Javascript from IGTLink in Slicer:
00015452414e53464f524d0000006530000000000000000000000000000000000000000000000000000000000000000000307842efbfbd4c3f4defbfbdefbfbd3fefbfbd00000000000000000000000000003fefbfbd00000000000000000000000000003fefbfbd0000412000004120000041200000
118 bytes
I noticed that in a few places in the received message from Slicer, a 0xefbfbd seemed to appear seemingly out of nowhere, either added in, or replacing 0x80, or 0x9b. My checksum was calculated using the CRC64-ECMA182 standard.
I'm a bit lost, and any help with this issue would be greatly appreciated.
Thank you!
-Alex