-
Notifications
You must be signed in to change notification settings - Fork 6
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
Qtasks #18
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
…tion. Include script for visualizing trajectories.
Re-implementing Record.py from main branch
Task to move traps off-screen, acquire a background image, and return traps to original position
Reorganized trajectory setter, revised save path for trajectories and added option to save at custom filename
Now functional. Modified MoveTraps so that running Move doesn't destroy the trajectory. Also worked out filename stuff.
rename and modify paths
Get and set task data from non-blocking tasks. (This will need more thought) Fix bug in task data setter. See new Tasks for examples of passing data between tasks
setTaskData is the highlight! This is a Task that's only function is to receive input, and save that input as taskData for the next task. Calling this task from the menu prompts the user to enter the task data via QInputBox. An example of this is in TaskDataExample3, where the user can type 'xc' and 'yc' and their corresponding values to set the center for Encircle, instead of going into the Encircle file and changing it manually (which requires pyfab to restart). GlobalCounter is useful for testing background tasks, and timing # of frames between events (such as registering a task and that task finishing __init__, or timing how many frames initialize() takes to finish). Also used to demonstrate passing task data. Note: In general, the screen and the terminal output freeze while init() is running, which is noticable for tasks which take longer than a frame to start. This is why assemble glitches the UI. One possible workaround could be to try running Assemble as a background task that calculates trajectories and then passes them to a Move task - though this needs more thought.
…nu and configure them in the GUI.
Merged
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.
Pull reimplemented tasks and task GUI to master