08 Oct, 2021

2 commits

  • However, ensure that the configurable baud rate can be implemented back
    easily if needed (namely, by reverting this commit).
    Olli-Pekka Kahilakoski
     
  • Other changes:
    
    - Disallow not selecting COM port in COM port selection dialog by
      defaulting to the first COM port in the list. Previously, it was
      possible to pass an empty string as the COM port by not making
      the selection.
    
    - When the "Serial port" checkbox is pressed and the user presses
      "Cancel" in the dialog that is opened, uncheck the "Serial port" checkbox
      instead of keeping it checked.
    
    - Be explicit about if the serial port is in use or not, instead of inferring
      it from the COM port variable being set or not.
    
    - Pass the serial port parameters (COM port, baud rate) directly to the
      Navigation class, instead of passing them through NeuronavigationPanel.
    
    - Minor improvements to style and naming of the variables.
    Olli-Pekka Kahilakoski
     

07 Oct, 2021

8 commits


06 Oct, 2021

8 commits


05 Oct, 2021

2 commits


04 Oct, 2021

2 commits


30 Sep, 2021

3 commits


29 Sep, 2021

1 commit


27 Sep, 2021

6 commits


24 Sep, 2021

1 commit


23 Sep, 2021

3 commits


22 Sep, 2021

2 commits


21 Sep, 2021

2 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).
    okahilak
     
  • okahilak