[IGSTK-Users] Help!
zhang xiaodong
zxdflyer at 163.com
Tue Jul 13 08:25:41 EDT 2010
Recently I am doing some experiments using the Polaris Hybrid tracker and the “Navigator” example. Configuration file is as follows.
<tracking_system type = "polaris hybrid">
<refresh_rate> 30 </refresh_rate>
<serial_communication>
<com_port>2</com_port>
<baud_rate>115200</baud_rate>
<data_bits>8</data_bits>
<parity>N</parity>
<stop_bits>1</stop_bits>
<hand_shake>0</hand_shake>
</serial_communication>
<tool usage="reference">
<name>reference</name>
<srom_file>D:/toolkit/Navigator/8700339.rom</srom_file>
</tool>
<tool usage="tool">
<name>tool</name>
<srom_file>D:/toolkit/Navigator/8700340.rom</srom_file>
<calibration_file>D:/toolkit/Navigator/Vicra-calibration.xml</calibration_file>
</tool>
</tracking_system>
But when I configure tracker using the file, error messages are popped as “Failed to connect tool to tracker.”; “Could not initialize tracker device.” The navigator system is run by VS 2008 in Windows XP in debug version. Here is the logging:
2010 Jul 13, 18:41:52 : (DEBUG) Tracker Initialization error
2010 Jul 13, 18:41:52 : (DEBUG) State transition is being made : Navigator PointerID 0377D780 InitializingTrackerState(609) with FailureInput(619) ---> ImageReadyState(600).
2010 Jul 13, 18:41:52 : (DEBUG) igstk::Navigator::ReportFailureTrackerConfigurationProcessing called...
2010 Jul 13, 18:48:05 : (DEBUG) Navigator::RequestStopTracking called...
2010 Jul 13, 18:48:05 : (DEBUG) State transition is being made : Navigator PointerID 0377D780 ImageReadyState(600) with StopTrackingInput(634) ---> ImageReadyState(600).
2010 Jul 13, 18:48:05 : (DEBUG) igstk::Navigator::ReportInvalidRequestProcessing called...
2010 Jul 13, 18:48:05 : (DEBUG) Navigator::RequestDisconnectTracker called...
2010 Jul 13, 18:48:05 : (DEBUG) State transition is being made : Navigator PointerID 0377D780 ImageReadyState(600) with DisconnectTrackerInput(635) ---> ImageReadyState(600).
2010 Jul 13, 18:48:05 : (DEBUG) igstk::Navigator::ReportInvalidRequestProcessing called...
Only the wireless tools are used. But if it is wired, the tracker can work well. I’ve no idea on what’s wrong with it. Could anyone help me? Thanks.
According the following sites:
http://www.vtk.org/Bug/view.php?id=10807; http://www.vtk.org/Bug/view.php?id=9187; http://www.cmake.org/Bug/view.php?id=10801. It seems that is the bug of the class “PolarisHybridConfigurationXMLFileReader”.
Does PolarisHybridConfigurationXMLFileReader class only supports the first tool is wired? What should I do if I want to only use the wireless tool with Polaris Hybrid tracker device and Navigator system? Or how to modify the configuration file of the Polaris hybrid tracker?
Thank you advance for any help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20100713/066d747c/attachment.html>
More information about the IGSTK-Users
mailing list