-
Notifications
You must be signed in to change notification settings - Fork 10
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
Photom_v2 #183
Open
edyoshikun
wants to merge
62
commits into
main
Choose a base branch
from
photom_v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Photom_v2 #183
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adding the calibration qt_thread
… arduino controls for PWM
added pulsing mode on laser added parameters for arduino pwm adding some patches to vortran laser with pulse power adding bitbanging arduino code
-fixing registration mismatch due to hardcoded var -adding affine transform dependent on size of laser window
- plot_centroid for qtthreads - calibration through gui using camera
replacing marker with crosshair
We need to merge #185 before merging this PR to main. #185 has a working GUI that does not require any hardware. Just make sure the yml file is pointing to the right directory (we should probably fix this bug @aaronalvarezcz ). CC: @shinzlet |
* implement ROI selection for ablation via gui demo * move Shape class to utils/pattern_tracing * add docstrings and logging statements * add roi selection coloring in the GUI * fix roi selection coloring bug * add shape deletion logic and button * remove unnecessary imports and update docstrings * add default behavior for overly large spacing configuration * adding changes to be able to run demo_mode * Integrate ROI selection to Photom Added: - drawing mode group in control window, includes roi selection and pattern dropdown, pattern spacing boxes, and deletion of shapes - scrollable widget behavior for laser control window - attributes to LaserMarkerWindow class to contain shapes Changed: - how displaying shapes are handled. shape/drawings are displayed by calling self.update() now - shapesUpdate signal to notify of new shapes added - updated mouse event handling to track and store Shape objects * remove hardcoding control window height * use relative path for hit marker png * fix comparison check if there is a selected shape id * add pattern_delay time b/w positions for mirror movement * format with black * -adding changes to make these relative imports. -relative import for the crosshair * extending the range of mockmirrodevice * refactor Shape class to ShapeTrace * make config_file a path object * add n_points option for pattern generation on a shape * formatted with black * add spiral pattern generation code for ROIs * add gap and points per cycle attributes to ShapeTrace * remove spacing option for spiral pattern in gui * update _pattern_spiral to generate n equidistant points in a spiral * update bidirectional pattern names for better spacing * implement bfs-style bidirectional pattern application * change pattern_points from set to list for ordered points * add greyscale pattern tracing, change pattern_points from set to list * add time delay parameter in GUI * remove unnecessary code and comments * fix pattern drawing bug * update breadth first search to add points clockwise to queue * fix bidirectional pattern bug that allowed for repeated (x, y) coordinates --------- Co-authored-by: Eduardo Hirata-Miyasaki <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This massive PR adds the following:
This PR changes some of the hardware libraries so I suggest we make a tag and 0.0.0 release of copylot so that projects that depend on main don't break. CC: @ieivanov