-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined Behavior in Slicer 4.10.1 #91
Comments
How are you printing it? Can you attach a Slicer log file? |
Just to confirm, does the OpenIGTLink module in slicer 4.10.* use OpenIGTLink Message Version 3? If so, I think the issue is at our end, as we might be using the OpenIGTLink message version 1 to unpack the message on an ARM v7 processor. I am able to see the transforms using ROS OpenIGTLink so clearly the plugin is working but should I not still be able to unpack the message using OpenIGTLink Library (message) version 1 or 2? |
SlicerOpenIGTLink uses the extended v2 header format from OpenIGTLink 3.0. From the documentation:
|
Related to this thread, I also noticed that SlicerOpenIGTLink cannot receive transforms from a version 1 client. For example, if I push transforms from the TrackerClient example in OpenIGTLink library, SlicerOpenIGTLink module gives: Warning: In /work/Stable/S-4102-E-b/SlicerOpenIGTLink/OpenIGTLinkIF/MRML/vtkMRMLIGTLConnectorNode.cxx, line 506 Shouldn't the module be able to receive version 1 message? |
It should. TrackerServer sends messages to Slicer fine (to a client node), so I wonder if there is an issue with receiving messages on a server type connection. |
In the line of As for why we constantly call the InitPack() function in the loop, please see this issue: |
Ah, I wasn't aware of the change in the library. Thanks for pointing this out! |
For some reason the openIGTLink
for Slicer is not working as expected in Slicer 4.10.1. We are trying to
send a transform over from a client and then printing it at the host.
Even though the host is receiving a packet, it's empty when printed. The
same, however, works on Slicer 4.6.2 and 4.8.
The text was updated successfully, but these errors were encountered: