Skip to content
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

Implement CursorReplayStrategy for Visual Feedback #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

R-ohit-B-isht
Copy link
Owner

@R-ohit-B-isht R-ohit-B-isht commented Jun 18, 2024

Implement CursorReplayStrategy for Visual Feedback

Description

This pull request implements the CursorReplayStrategy to provide visual feedback by painting a red dot on the target location during replay. This enhancement addresses the feature request.

Changes Made

  • Added CursorReplayStrategy class in openadapt/strategies/vanilla.py, inheriting from VanillaReplayStrategy.
  • Overridden the get_next_action_event method in CursorReplayStrategy to include functionality for painting a red dot on the target location.
  • Imported CursorReplayStrategy in openadapt/strategies/__init__.py to ensure it is recognized by the utils.get_strategy_class_by_name function.

Testing

  • Verified that the CursorReplayStrategy is correctly integrated into the project's workflow.
  • Ensured that the visual feedback (red dot) is displayed at the target location during replay.

Additional Notes

  • This implementation provides a visual cue to enhance the user experience during replay.
  • Further testing and feedback are welcome to ensure the robustness of this feature.

Related Issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant