-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neuronavigation: Track multiple coils simultaneously and show stylus/probe #827
base: master
Are you sure you want to change the base?
Commits on Sep 18, 2024
-
Aligned stylus.stl with VTK axes
Stylus visualization is working with Aalto Polaris TODO: add a stylus calibration tab to GUI
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for ad22e58 - Browse repository at this point
Copy the full SHA ad22e58View commit details -
added r_change to navigation code, now add GUI to record r_change
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 4b2577b - Browse repository at this point
Copy the full SHA 4b2577bView commit details -
StylusPage records coord_raw for Navigation
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 846b11c - Browse repository at this point
Copy the full SHA 846b11cView commit details -
Tolonen Luka committed
Sep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 5635554 - Browse repository at this point
Copy the full SHA 5635554View commit details -
using _ to discard the returned variable resulted in a wxPython error…
…! Use __ instead
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for a5aedd3 - Browse repository at this point
Copy the full SHA a5aedd3View commit details -
add illustration of how to align the stylus with head
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for f53ac96 - Browse repository at this point
Copy the full SHA f53ac96View commit details -
Reduce vertical gaps between GUI components. This has been tested on …
…both Windows and Ubuntu 22
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for f8e4c98 - Browse repository at this point
Copy the full SHA f8e4c98View commit details -
save stylus orientation (r_change) to config.json
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 491f6ef - Browse repository at this point
Copy the full SHA 491f6efView commit details -
Handle the case where manual stylus calibration is skipped. Print out…
… a warning in this case, but allow navigation to work as normal
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 702e923 - Browse repository at this point
Copy the full SHA 702e923View commit details -
Rename r_change to r_stylus (this is the rotation matrix to orient th…
…e stylus in vtk)
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for eb6d6d1 - Browse repository at this point
Copy the full SHA eb6d6d1View commit details -
Tolonen Luka committed
Sep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 314f051 - Browse repository at this point
Copy the full SHA 314f051View commit details -
Completely replace corregistrate_dynamic by corregistrate_probe. Thes…
…e functions were identical, except for r_img in corregistrate_probe... This rotation does not change ICP behavior since ICP only affects the translation
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for d29cd19 - Browse repository at this point
Copy the full SHA d29cd19View commit details -
Refactor 'Track coil' button behavior: this determines (on the fly) w…
…hether to follow the coil or probe with marker. Join the two Corregistrate threads into one. Edit CoilVisualizer and GUI to work with this change. Please excuse some stray comments and var-definitions (eg. n_coils)... I will clean these up in future multicoil PR.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 33f0fba - Browse repository at this point
Copy the full SHA 33f0fbaView commit details -
Simplify how r_stylus is saved to file: move r_stylus to 'navigation'…
… object and remove bogus 'navigation-stylus' object
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 1e7827a - Browse repository at this point
Copy the full SHA 1e7827aView commit details -
Remove behavior where probe is automatically shown/hidden when naviga…
…tion is started/stopped. Automatically show coil/probe when Track coil is pressed/unpressed
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 68c017b - Browse repository at this point
Copy the full SHA 68c017bView commit details -
Now works with tracker coordinate system where stylus points in x-axi…
…s as opposed to y-axis. Also, removed unnecessary disabling of 'Track coil' button before navigation.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 23bccb8 - Browse repository at this point
Copy the full SHA 23bccb8View commit details -
Start work on multicoil. Add n_coils variable to tracker connection i…
…nit dialogs. Polaris init dialog now asks for n_coils Coil ROM files.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 4a6bd3b - Browse repository at this point
Copy the full SHA 4a6bd3bView commit details -
Rename/repurpose obj_ref_mode to obj_id (this is the index of an object in coord_raw). Use dicts throughout code so that coils can be controlled by name. Simplify CoilVisualizer and coregistration. Add coil selection buttons to Preferences ObjectTab.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 7ae1826 - Browse repository at this point
Copy the full SHA 7ae1826View commit details -
Improve ObjectTab init by using LoadConfig. Remove self.track_obj state var from GUI, it is a property of Navigation class. Addition: load/save coil from/to OBR file.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 1e5effa - Browse repository at this point
Copy the full SHA 1e5effaView commit details -
Added a warning before overwriting old coil registrations, other mino…
…r fixes
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 63cfdfb - Browse repository at this point
Copy the full SHA 63cfdfbView commit details -
Remove icp_queue (which was only used in CoordinateCorregistrate thre…
…ad) since the ICP data is constant once created. The ICP data is passed to coregistration when the navigation is started, so it is up to date with the ICP data defined in Refine tab.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 8c639b8 - Browse repository at this point
Copy the full SHA 8c639b8View commit details -
Maximize viewer volume when target mode is set. Remove obsolete funct…
…ions
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 8b649a5 - Browse repository at this point
Copy the full SHA 8b649a5View commit details -
Minor fixes to ensure target mode works as normal with a single coil
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 33351f3 - Browse repository at this point
Copy the full SHA 33351f3View commit details -
Update PolarisCoord to receive multiple coil coordinates. Improve Pol…
…aris ROM init dialog. Update handling of marker_visibilities to support multiple coils.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 25d0e95 - Browse repository at this point
Copy the full SHA 25d0e95View commit details -
Rotate stylus NT-115.rom to point in x-axis. Restore NBSref.rom to ol…
…d form.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for f07dff9 - Browse repository at this point
Copy the full SHA f07dff9View commit details -
Reset tracker connection when n_coils is changed. This is necessary f…
…or Polaris to load ROM new files.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 2e404d3 - Browse repository at this point
Copy the full SHA 2e404d3View commit details -
Clean comments and RUFF format
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for ccb8886 - Browse repository at this point
Copy the full SHA ccb8886View commit details -
Add popup-menu to show/hide specific coil. Menu is shown when the Sho…
…w-coil button is right-clicked
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 79f17cb - Browse repository at this point
Copy the full SHA 79f17cbView commit details -
Specify which coil is connected to the robot. Add a check that robot.…
…coil_name is specified and in navigation.coil_registrations before robot can be used
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for c413548 - Browse repository at this point
Copy the full SHA c413548View commit details -
Change GUI to its old form for single coil mode
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for a1ed3c0 - Browse repository at this point
Copy the full SHA a1ed3c0View commit details -
Save/load robot coil name (the coil attached to robot) to config file…
…. Add CoilSelectionDone function to simplify preferences code
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 3918f9a - Browse repository at this point
Copy the full SHA 3918f9aView commit details -
Improve preferences wording and layout. Simplified LoadConfig. Remove…
…d the following: Messy multicoil instructions (there will be separate documentation for that) Unnecessary feature of changing the index (obj_id) of a registration
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 1ae0d66 - Browse repository at this point
Copy the full SHA 1ae0d66View commit details -
Add getter for robot coil name. Remove unused neuronavigation_api var…
…iables.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for ec9dba3 - Browse repository at this point
Copy the full SHA ec9dba3View commit details -
Show/hide robot coil combobox when robot is connected/disconnected. R…
…UFF format
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for a7ec573 - Browse repository at this point
Copy the full SHA a7ec573View commit details -
Tolonen Luka committed
Sep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 2d1b5a3 - Browse repository at this point
Copy the full SHA 2d1b5a3View commit details -
Minor change to improve code readability
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 5f8a1f3 - Browse repository at this point
Copy the full SHA 5f8a1f3View commit details -
Hide name box during coil registration if in single coil mode
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for e1b2d2f - Browse repository at this point
Copy the full SHA e1b2d2fView commit details -
Fix stylus orientation. The issue was that the vtk y-axis is flipped.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 2f42342 - Browse repository at this point
Copy the full SHA 2f42342View commit details -
Before this commit, the stylus was correctly oriented with MRI heads.…
… Now it is correctly oriented with NIFTI heads. TODO: unify the orientation of MRI and NIFTI heads in vtk?
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 39b5946 - Browse repository at this point
Copy the full SHA 39b5946View commit details -
Add check to prevent delayed rendering of coil/probe when navigating.…
… Remove obj_id=0 choice in multicoil mode. Automatically select a coil for navigation when it's created. Other fixes related to edge cases in coil creation/selection in multicoil mode
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for a8ea28b - Browse repository at this point
Copy the full SHA a8ea28bView commit details -
Show coil center/target even when coil is hidden. Handle exceptions w…
…hen loading state file. Update environment.yml. Minor refactors ie. naming changes.
Tolonen Luka committedSep 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 8fe04de - Browse repository at this point
Copy the full SHA 8fe04deView commit details
Commits on Sep 26, 2024
-
Remove incomplete robot check that causes bug with single robot
Tolonen Luka committedSep 26, 2024 Configuration menu - View commit details
-
Copy full SHA for 7524ff2 - Browse repository at this point
Copy the full SHA 7524ff2View commit details