PlusToolkit / PlusLib

Software library for data acquisition, pre-processing, and calibration for navigated image-guided interventions.
http://www.plustoolkit.org
Other
136 stars 103 forks source link

Clean up MicronTracker interface classes #95

Closed Sunderlandkyl closed 5 years ago

Sunderlandkyl commented 7 years ago

MicronTracker tracking seems to work fine, but the interface classes (PlusLib\src\Tracking\MicronTracking\Utils) are implemented very poorly. Need a review and clean-up including: VERY IMPORTANT PROGRAMMING NOTE in MicronTrackerInterface.cpp check ownedByMe handling (probably it should be set to false if the handle is not created by new) consistent return values (sometimes int, sometimes bool; sometimes non-zero means error, sometimes 0, false) check timestamp computation (mtGetLatestFrameTime(cam) function can provide accurate enough without filtering)

There also seem to be a larger time lag in the tracking in Plus than in the MicronTracker CPP demo.

Migrated from https://app.assembla.com/spaces/plus/tickets/571/details

Sunderlandkyl commented 7 years ago

2012-08-17 14:03 Andras Lasso (In plus:2001) re #571: Added build option to test the accuracy of the timestamps provided by the MicronTracker device