Hi Ester et al.

(Is Alfred back from holidays?)

Thanks for your help so far. I spent some time last week debugging. The problem 
occurs when we try to connect to the spectra, and send a hardware reset. 

If I put a breakpoint here:
https://github.com/MITK/MITK/blob/master/Modules/IGT/TrackingDevices/mitkNDITrackingDevice.cpp#L398

and wait five seconds, and then continue, the connection is successful.
I tried putting wait commands in, but then behaviour was unpredictable.

Without waiting, this line:
https://github.com/MITK/MITK/blob/master/Modules/IGT/TrackingDevices/mitkNDITrackingDevice.cpp#L400

returns an empty string.

Can anyone advise on this? I would love this to be working smoothly, but Im not 
sure how to progress.

Thanks

Matt


> On 5 Feb 2016, at 11:57, Wild, Esther <e.w...@dkfz-heidelberg.de> wrote:
> 
> Hi Matt,
> 
> The right tool storage is needed for tracking, but not for connection or auto 
> scan. As you have trouble with the connection, the reason can't be a wrong 
> tool storage.
> I'm no expert for IGT (unfortunately Alfred is not here at the moment), but 
> I'm using the Polaris spectra with win7 for my work (model Polaris spectra 
> position sensor from 2011).
> 
> Maybe it's the best way that I describe to you how I manage to track with 
> polaris using an installer of MITK and you try to do the same. If this is 
> working, we need to find problems in your code. And if you can't manage to 
> track with these instructions, it's probably a hardware/driver problem? Does 
> that sound reasonable to you?
> 
> Here are some steps for tracking with the tracking toolbox:
> 1. Download and install Mitk igt: 
> http://mitk.org/images/f/fb/IGT%24MITK-IGT-Tracking-win64.exe 
> 2. open bin/ExtApp.exe
> 3. open view igt tracking toolbox (it's the old symbol, you can also find it 
> on window-> show view)
> 4. choose Polaris in the dropdown menu
> 5. Autoscan (if everything works fine, Polaris should make some beep sound) 
> --> output in the small command window should state ok
> 6. test connection (same behavior as autoscan)
> 7. tracking tools --> Add single tool --> Basic information --> calibration 
> file --> here you need to load your .rom file, everything else can be default 
> --> finish
> 8. start tracking --> red or green coordinates depending on successful 
> /unsuccessful tracking
> 
> Is this working for you?
> 
> And for the tool storage: If you add a single tool, you need to provide the 
> .rom file for calibration. If you create your tools e.g. with the tool 
> manager or tracking toolbox, save it as tool storage and reload it, you do 
> not need to reload the .rom file - it's included if you added it during the 
> first time. But you don't need to save/reload the toolstorage, that's just 
> for convenience. Simply adding the tools should be sufficient.
> 
> Best,
> Esther
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Clarkson, Matt [mailto:m.clark...@ucl.ac.uk] 
> Gesendet: Freitag, 5. Februar 2016 11:31
> An: Wild, Esther
> Cc: Kislinskiy, Stefan
> Betreff: Re: An alle IGTler: WG: Can't work Polaris Spectra
> 
> Hi Ester,
> 
> its on Windows 7, and its using essentially MITK 2015.05.2 (previous 
> release)., from here:
> 
> 
> At this stage, I'm wondering if Im even using the MITK code correctly. 
> With aurora, there are no .rom files. So, I create a IGT Tool Storage file, 
> and load it in, and things work.
> So, I created a IGT Tool Storage file using the MITK igttracking plugin, 
> specifying polaris, and the specific tools. Does the tool storage file 
> contain the NDI .rom files, or am I meant to load them in separately? I'm 
> probably using your code wrong. 
> 
> Thanks
> 
> Matt
> 
> 
> ________________________________________
> From: Wild, Esther <e.w...@dkfz-heidelberg.de>
> Sent: 05 February 2016 09:57
> To: Clarkson, Matt
> Cc: Kislinskiy, Stefan
> Subject: AW: An alle IGTler: WG: Can't work Polaris Spectra
> 
> Dear Matt,
> 
> just two short questions: Are you working with Linux or Windows? And is your 
> MITK based on the current master or the last release?
> I know that there were some troubles with Polaris and Linux, so if you're 
> using linux, I'll try to find out if we already have a solution...
> 
> Best,
> Esther
> 
> -----Ursprüngliche Nachricht-----
> Von: mbi-team-boun...@dkfz-heidelberg.de 
> [mailto:mbi-team-boun...@dkfz-heidelberg.de] Im Auftrag von Kislinskiy, Stefan
> Gesendet: Freitag, 5. Februar 2016 09:45
> An: mbi-t...@dkfz-heidelberg.de
> Betreff: An alle IGTler: WG: Can't work Polaris Spectra
> 
> Hi, wer kann Matt auf der MITK Users List helfen? Danke im Voraus! :) VG 
> Stefan ________________________________________
> Von: Clarkson, Matt [m.clark...@ucl.ac.uk]
> Gesendet: Freitag, 5. Februar 2016 09:20
> An: MITK
> Betreff: [mitk-users] Fwd: Can't work Polaris Spectra
> 
> Hi All,
> 
> Im still a bit stuck.
> Is there a sequence of events I should be doing to get a Polaris Spectra to 
> work.
> Does anyone have any example code?
> 
> Or, are there specific versions or model numbers that are not supported?
> 
> Thanks
> 
> Matt
> 
> 
> Begin forwarded message:
> 
> From: "Clarkson, Matt" <skgt...@ucl.ac.uk<mailto:skgt...@ucl.ac.uk>>
> Subject: Can't work Polaris Spectra
> Date: 28 January 2016 14:36:11 GMT
> To: MITK 
> <mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>>
> 
> Hi there,
> 
> Im having troubles getting our Polaris Spectra to work with MITK code.
> 
> If I use our other code (IGSTK stuff !!), I can connect to the tracker, and 
> track objects, so everything is connected, and the hardware works.
> 
> Our SuperBuild downloads MITK (obviously), and I can run the IGT Tracking 
> Toolbox. Using this IGT Tracking Toolbox plugin and running Auto Scan tells 
> me that Aurora is connected on COM6, but it completely misses the fact that 
> Spectra is connected on COM5. So, even the MITK plugin does not seem to see 
> the Spectra.  i.e. I currently have both, and the Aurora is recognised and 
> the Spectra is missed.
> 
> Any ideas? Do I need specific driver versions?
> 
> Thanks
> 
> Matt
> 
> 
> 


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to