[IGSTK-Users] refactored FOB classes almost working
sebastian ordas
sebastian.ordas at gmail.com
Mon Apr 14 19:28:12 EDT 2008
Hi again, now it works fine and very fast!!!!
Please check the code. Now I realize that the refactoring should have been
quite more simpler
I got a bit confused with the first design, as I wanted to follow the NDI
design. The Micron single class approach was more direct
So, next steps would be:
1- finish a head phantom which I am currently working on
2- load a .msh with the target object (e.g. a tumor)
2- do a real lmk calibration on it
3- write some tests?
many thanks for your support,
sebastian
On Tue, Apr 15, 2008 at 12:06 AM, sebastian ordas <sebastian.ordas at gmail.com>
wrote:
> Dear Team,
>
> I have just submitted to the sandbox a new version of the FOB classes that
> is almost working!!! :-)
>
> my communication config for the FOB finally looks like:
>
> m_Communication->SetPortNumber( SerialCommunication::PortNumber0 );
> m_Communication->SetParity( SerialCommunication::NoParity ); // yes, no
> parity ...
> m_Communication->SetBaudRate(SerialCommunication::BaudRate115200);
> m_Communication->SetDataBits( SerialCommunication::DataBits8 );
> m_Communication->SetStopBits( SerialCommunication::StopBits1 );
> m_Communication->SetHardwareHandshake( SerialCommunication::HandshakeOff);
>
> pending issues:
>
> 1 - FlockOfBirdsTracker::InternalUpdateStatus() is a bit dirty ...
> 2- not sure from where to call: this->InternalActivateTools() and
> m_CommandInterpreter->Close()
> 3- although responding, I am getting the following error:
>
> 2008 Apr 14, 22:49:48 : (CRITICAL) In class
> SerialCommunicationForWindows No
> transitions have been defined for current state and input State = 1636
> [AttemptingToWriteState] Input = 1647 [ReadInput]
>
> best regards,
>
> Sebastian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20080415/a4264821/attachment.html>
More information about the IGSTK-Users
mailing list