[IGSTK-Users] Attaching tools to aurora tracker problem

Zein Salah zeinsalah at gmail.com
Mon Jul 18 05:30:06 EDT 2016


Hi everybody,

I posted this question previously but I had less details that time. So
I would appreciate having a look at it once again.

I used to use IGSTK as an interface for an Aurora tracker that came
with 4 Ports and everything was working fine.

I newly had a newer Aurora system with 12 ports. The problem with the
new system is: attaching succeeds only on the first 4 ports!

To see what is happening, I connected all error events of TrackerTool
to observers like this:

    igstk::AuroraTrackerTool::Pointer tool = igstk::AuroraTrackerTool::New();

    igstk::TrackerTool::Pointer m_TrackerToolChannel0 = tool;
    m_TrackerToolChannel0->AddObserver(igstk::TrackerToolAttachmentToTrackerErrorEvent(),
m_TrackerToolAttachErrorObserver);
    m_TrackerToolChannel0->AddObserver(igstk::TrackerToolConfigurationErrorEvent(),
m_TrackerToolConfigurationErrorObserver);
    m_TrackerToolChannel0->AddObserver(igstk::InvalidRequestToAttachTrackerToolErrorEvent(),
m_InvalidRequestToAttachTrackerToolErrorObserver);
    m_TrackerToolChannel0->AddObserver(igstk::InvalidRequestToDetachTrackerToolErrorEvent(),
m_InvalidRequestToDetachTrackerToolErrorObserver);
    m_TrackerToolChannel0->AddObserver(igstk::TrackerToolErrorEvent(),
m_TrackerToolErrorObserver);

    tool->RequestSelect6DOFTrackerTool();
    tool->RequestSetPortNumber(portToHandle);
    tool->RequestSetChannelNumber(channelNo);
    tool->RequestConfigure();
    tool->RequestAttachToTracker(tracker);

Now, If the tool is connected to port 1-4, everything works fine. If I
use the ports >= 5, the following events are generated:

TrackerToolConfigurationErrorEvent()
InvalidRequestToAttachTrackerToolErrorEvent()
TrackerToolErrorEvent()
InvalidRequestToDetachTrackerToolErrorEvent()

Important Note: Using the "Track" software which comes with NDI's
Toolbox, tools are recognized and tracked on all ports.

Any ideas what might be going wrong???

Much thanks,
Zein


More information about the IGSTK-Users mailing list