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

Android App Communication #1

Open
AdityaNG opened this issue May 30, 2022 · 0 comments
Open

Android App Communication #1

AdityaNG opened this issue May 30, 2022 · 0 comments
Assignees

Comments

@AdityaNG
Copy link
Collaborator

Create and test the interface which allows the python recorder running on the laptop to talk to the Android devices. @Dhruval360

class AndroidDatasetRecorder:
"""
AndroidDatasetRecorder
"""
def __init__(self) -> None:
# Start TCP Server
# Default message to be 'standby'
pass
def start_rec(self, save_file_path=None):
try:
# Set Server message to 'start_rec @ T+3seconds'
while True:
pass
except KeyboardInterrupt:
# Set Server message to 'stop_rec'
print("Stopped rec at: ", time.time())
def __str__(self) -> str:
return "AndroidDatasetRecorder"
def __repr__(self) -> str:
return "AndroidDatasetRecorder"

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

No branches or pull requests

2 participants