<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<pre style="word-wrap: break-word; "><font class="Apple-style-span" size="3" face="'Times New Roman'"><span class="Apple-style-span" style="white-space: pre-wrap; ">Hi all,

I'm trying to use Polaris Spectra with IGSTK but i'm having some problems.
I can track with Polaris Tracking, but after compile igstk and set the usb port and everything else, when i run the tests, it give me the errors:

When i use the igstkTests igstkPolarisTrackerTest: </span></font></pre>
<pre style="font-size: medium; word-wrap: break-word; white-space: pre-wrap; ">root@x8Nvidia:/home/x8nvidia/Desktop/IGSTKnew/instalacao/IGSTK-bin/bin# ./igstkTests igstkPolarisTrackerTest logIgstkPolarisTrackerTest /opt/NDIToolBox/Tool/Definition Files/8700340.rom 0
AC = 6
Logger output saved here:
logIgstkPolarisTrackerTest
SetCommunication()
RequestOpen()
InputOutputTimeoutEvent
InputOutputTimeoutEvent
TrackerOpenErrorEvent
InvalidRequestErrorEvent
InvalidRequestErrorEvent
Start tracking...
InvalidRequestErrorEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
Stop Tracking
InvalidRequestErrorEvent
Restart tracking
InvalidRequestErrorEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
CoordinateSystemTransformToNullTargetEvent
RequestClose()
InvalidRequestErrorEvent
CloseCommunication()<span class="Apple-style-span" style="font-family: 'Times New Roman'; ">

<br></span></pre>
<pre style="font-family: 'Times New Roman'; font-size: medium; word-wrap: break-word; white-space: pre-wrap; "><br></pre>
<pre style="font-size: medium; word-wrap: break-word; white-space: pre-wrap; "><font class="Apple-style-span" face="'Times New Roman'">And when i use igstkPolarisTrackerToolTest:</font></pre>
<pre style="font-size: medium; word-wrap: break-word; white-space: pre-wrap; ">root@x8Nvidia:/home/x8nvidia/Desktop/IGSTKnew/instalacao/IGSTK-bin/bin# ./igstkTests igstkPolarisTrackerToolTest logIgstkPolarisTrackerTest /opt/NDIToolBox/Tool/Definition Files/8700340.rom 0
AC = 6
1315584093.34633898735046386719  :    (DEBUG) igstk::PolarisTrackerTool::RequestSelectWirelessTrackerTool called ...
1315584093.34636092185974121094  :    (DEBUG) State transition is being made : PolarisTrackerTool  PointerID 0xb3bcff8 IdleState(55)  with SelectWirelessTrackerToolInput(64) ---> WirelessTrackerToolSelectedState(56).
1315584093.34637594223022460938  :    (DEBUG) igstk::PolarisTrackerTool::ReportWirelessTrackerToolSelected called ...
1315584093.34638810157775878906  :    (DEBUG) igstk::PolarisTrackerTool::RequestSetPortNumber called ...
1315584093.34640192985534667969  :    (CRITICAL) In class PolarisTrackerTool No transitions have been defined for current state and input  State = 56 [WirelessTrackerToolSelectedState] Input = 66 [InValidPortNumberInput]
1315584093.34643507003784179688  :    (DEBUG) igstk::PolarisTrackerTool::RequestSetPortNumber called ...
1315584093.34645009040832519531  :    (CRITICAL) In class PolarisTrackerTool No transitions have been defined for current state and input  State = 56 [WirelessTrackerToolSelectedState] Input = 65 [ValidPortNumberInput]
1315584093.34646296501159667969  :    (DEBUG) igstk::PolarisTrackerTool::RequestSetSROMFileName called ...
1315584093.34649109840393066406  :    (DEBUG) State transition is being made : PolarisTrackerTool  PointerID 0xb3bcff8 WirelessTrackerToolSelectedState(56)  with InValidSROMFileNameInput(68) ---> WirelessTrackerToolSelectedState(56).
1315584093.34650397300720214844  :    (DEBUG) igstk::PolarisTrackerTool::ReportInValidSROMFileSpecifiedProcessing called ...
1315584093.34651589393615722656  :    (CRITICAL) Invalid SROM filename specified 1315584093.34653210639953613281  :    (DEBUG) igstk::PolarisTrackerTool::RequestSetPartNumber called ...
1315584093.34654593467712402344  :    (CRITICAL) In class PolarisTrackerTool No transitions have been defined for current state and input  State = 56 [WirelessTrackerToolSelectedState] Input = 69 [ValidPartNumberInput]
1315584093.34656095504760742188  :    (DEBUG) igstk::TrackerTool::RequestConfigure called...
1315584093.34657597541809082031  :    (DEBUG) State transition is being made : PolarisTrackerTool  PointerID 0xb3bcff8 IdleState(14)  with ConfigureToolInput(1) ---> AttemptingToConfigureTrackerToolState(15).
1315584093.34658789634704589844  :    (DEBUG) igstk::TrackerTool::AttemptToConfigureProcessing called ...
1315584093.34660005569458007812  :    (DEBUG) igstk::PolarisTrackerTool::CheckIfTrackerToolIsConfigured called...
1315584093.34661388397216796875  :    (DEBUG) State transition is being made : PolarisTrackerTool  PointerID 0xb3bcff8 AttemptingToConfigureTrackerToolState(15)  with ToolConfigurationFailureInput(3) ---> IdleState(14).
1315584093.34662795066833496094  :    (DEBUG) igstk::TrackerTool::TrackerToolConfigurationFailureProcessing called ...
PolarisTrackerTool (0xb3bcff8)
  RTTI typeinfo:   igstk::PolarisTrackerTool
  Reference Count: 1
  Modified Time: 5
  Debug: Off
  Observers: 
    CoordinateSystemSetTransformEvent(SceneGraphObserver)
    TransformNotAvailableEvent(SceneGraphObserver)
    CoordinateSystemTransformToEvent(SceneGraphObserver)
  Raw transform: Transform (0xb3bd20c)
  RTTI typeinfo:   N5igstk9TransformE
  TimeStamp (0xb3bd210)
    RTTI typeinfo:    N5igstk9TimeStampE
    Start Time      = 1315584093345.09619140625
    Expiration Time = 1.79769313486231570814527423732e+308
  [0, 0, 0]
  [ 0, 0, 0, 1 ]
  2.22507385850720138309023271733e-308

  CalibrationTransform: Transform (0xb3bd15c)
  RTTI typeinfo:   N5igstk9TransformE
  TimeStamp (0xb3bd160)
    RTTI typeinfo:    N5igstk9TimeStampE
    Start Time      = 1315584093345.09716796875
    Expiration Time = 1.79769313486231570814527423732e+308
  [0, 0, 0]
  [ 0, 0, 0, 1 ]
  2.22507385850720138309023271733e-308

  Calibrated raw transform: Transform (0xb3bd1b4)
  RTTI typeinfo:   N5igstk9TransformE
  TimeStamp (0xb3bd1b8)
    RTTI typeinfo:    N5igstk9TimeStampE
    Start Time      = 1315584093345.09716796875
    Expiration Time = 1.79769313486231570814527423732e+308
  [0, 0, 0]
  [ 0, 0, 0, 1 ]
  2.22507385850720138309023271733e-308

  CoordinateSystemDelegator:   RTTI typeinfo:   igstk::CoordinateSystemDelegator
  Reference Count: 1
  Modified Time: 11
  Debug: Off
  Observers: 
    CoordinateSystemTransformToNullTargetEvent(ReceptorMemberCommand)
    CoordinateSystemSetTransformEvent(ReceptorMemberCommand)
    CoordinateSystemTransformToDisconnectedEvent(ReceptorMemberCommand)
    CoordinateSystemNullParentEvent(ReceptorMemberCommand)
    CoordinateSystemThisParentEvent(ReceptorMemberCommand)
    CoordinateSystemParentCycleEvent(ReceptorMemberCommand)
    CoordinateSystemTransformToEvent(ReceptorMemberCommand)
  Coordinate system : CoordinateSystem (0xb3bde10)
  COORDINATE SYSTEM NAME = TrackerTool 0x0xb3bcff8
  RTTI typeinfo:   igstk::CoordinateSystem
  Reference Count: 2
  Modified Time: 26
  Debug: Off
  Observers: 
    CoordinateSystemTransformToNullTargetEvent(ReceptorMemberCommand)
    CoordinateSystemTransformToDisconnectedEvent(ReceptorMemberCommand)
    CoordinateSystemNullParentEvent(ReceptorMemberCommand)
    CoordinateSystemThisParentEvent(ReceptorMemberCommand)
    CoordinateSystemParentCycleEvent(ReceptorMemberCommand)
    CoordinateSystemTransformToEvent(ReceptorMemberCommand)
    CoordinateSystemSetTransformEvent(ReceptorMemberCommand)
  Transform to parent = 
  Transform (0xb3bded0)
    RTTI typeinfo:   N5igstk9TransformE
    TimeStamp (0xb3bded4)
      RTTI typeinfo:    N5igstk9TimeStampE
      Start Time      = 1315584093344.796875
      Expiration Time = 1.79769313486231570814527423732e+308
    [0, 0, 0]
    [ 0, 0, 0, 1 ]
    2.22507385850720138309023271733e-308
  Transform from RequestSetTransformAndParent (temporary) = 
  Transform (0xb3bdfa8)
    RTTI typeinfo:   N5igstk9TransformE
    TimeStamp (0xb3bdfac)
      RTTI typeinfo:    N5igstk9TimeStampE
      Start Time      = 0
      Expiration Time = 0
    [0, 0, 0]
    [ 0, 0, 0, 1 ]
    2.22507385850720138309023271733e-308
  Parent from RequestSetTransformAndParent (temporary) =  NULL 
  Target from RequestComputeTransformTo (temporary) =  NULL
  Lowest common ancestor (temporary) =  NULL
  COORDINATE SYSTEM PARENT = NULL

  Coordinate system observer : ReceptorMemberCommand (0xb3bd9d8)
  RTTI typeinfo:   itk::ReceptorMemberCommand<igstk::CoordinateSystemDelegator>
  Reference Count: 9
  Modified Time: 16
  Debug: Off
  Observers: 
    none

  PortNumber: 0
  SROMFileName: 
   Tracker tool is wireless type</pre>
<pre style="font-family: 'Times New Roman'; font-size: medium; word-wrap: break-word; white-space: pre-wrap; "><br></pre>
<pre style="word-wrap: break-word; "><font class="Apple-style-span" size="3" face="'Times New Roman'"><span class="Apple-style-span" style="white-space: pre-wrap; ">I don't understand whats wrong and whats need to change,
If someone else could help i'll appreciate.</span></font></pre>
<pre style="word-wrap: break-word; "><font class="Apple-style-span" size="3" face="'Times New Roman'"><span class="Apple-style-span" style="white-space: pre-wrap; "><br></span></font></pre>
<pre style="word-wrap: break-word; "><font class="Apple-style-span" size="3" face="'Times New Roman'"><span class="Apple-style-span" style="white-space: pre-wrap; ">Best regards,</span></font></pre>
<pre style="word-wrap: break-word; "><font class="Apple-style-span" size="3" face="'Times New Roman'"><span class="Apple-style-span" style="white-space: pre-wrap; ">Rui Carvalho</span></font></pre>
</div>
</body>
</html>