07 Oct, 2021
5 commits
-
FIX: Using pedal for setting fiducials
-
Creation of a new thread for coordinates acquisition
-
Previously, the callback for setting the fiducial was removed while executing the callback. However, that did not work because it made the list of callbacks that PedalConnection looped over change on the fly. Instead, use 'remove when released' option for callbacks to automatically remove the callback when the pedal is released.
-
Also, send 'Pedal state changed' events regardless of if any callbacks have been registered or not.
06 Oct, 2021
8 commits
-
-change coilID to objID
-
FIX: Additional bug in registering tracker location using pedal
-
FIX: Registering tracker location using pedal in calibration
05 Oct, 2021
2 commits
-
Marker code refactoring
04 Oct, 2021
2 commits
-
- General marker code cleanup - Marker's label decoupled from the target status
30 Sep, 2021
3 commits
-
FIX: change marker colors
-
-minor: set size to trackers combobox
29 Sep, 2021
1 commit
-
* Removed the legacy (.mks) marker loading code. * minor cleanup
27 Sep, 2021
6 commits
-
MOD: Export world coordinates into marker file
24 Sep, 2021
1 commit
23 Sep, 2021
3 commits
-
* CLP: Move ICP class to its own file (icp.py) * CLP: Remove unused imports from task_navigator.py
22 Sep, 2021
2 commits
-
* Updated gitignore to ignore VSCode project setting files * minor fix
21 Sep, 2021
3 commits
-
* Add OBJECT_FIDUCIALS dict to constants.py, replacing BTNS_OBJ and TIPS_OBJ, and facilitating cleaning up the code. * Pass PedalConnection object to ObjectCalibrationDialog so that the pedal can be used for object calibration. * Copy and slightly adapt the code that was used to set tracker fiducials using pedal (in OnTrackerFiducials in NeuronavigationPanel class) to do the same for object fiducials. Mark code duplication with TODO comment for later clean-up. * Rename a function (OnGetObjectFiducials -> OnObjectFiducialButton), and rename a few variables (e.g., btn_id -> fiducial_index).
-
Namely, do not attempt to add or remove pedal callbacks if the PedalConnection object is not available (e.g., due to missing Python MIDI libraries).
20 Sep, 2021
1 commit
-
* CLP: Move Navigation class to its own file (navigation.py) * Also move the classes that Navigation class exclusively uses (namely, QueueCustom and UpdateNavigationScene) to the same file. * Review comment: Change neuronavigation subdirectory to navigation
16 Sep, 2021
3 commits
-
* Due to a previous clean-up, r_s0_raw was not computed anymore in object_registration function. However, it is needed as one of the return values of the function, therefore add it back.
-
* current_coord is not actually used by Navigator class, in which it resided previously. Instead, it is used by NeuroNavigationPanel when an image fiducial is unselected (the button for selecting the image fiducial is pressed twice). Previously, unselecting an image fiducial caused a crash due to not having current_coord variable in NeuroNavigationPanel. This patch moves it there to fix the bug.