From 3682fc1448cd6916f3d8794149528a3d693a4586 Mon Sep 17 00:00:00 2001 From: KenwoodFox Date: Sat, 27 Nov 2021 21:13:20 -0500 Subject: [PATCH] Boilerplate RS code --- companion_software/houston/__main__.py | 4 ++++ companion_software/houston/houston.py | 2 ++ .../houston/robotstreamer/__init__.py | 3 +++ .../houston/robotstreamer/streamer.py | 13 +++++++++++++ companion_software/requirements.txt | 1 + 5 files changed, 23 insertions(+) create mode 100644 companion_software/houston/robotstreamer/__init__.py create mode 100644 companion_software/houston/robotstreamer/streamer.py diff --git a/companion_software/houston/__main__.py b/companion_software/houston/__main__.py index 55beadd..699d80e 100644 --- a/companion_software/houston/__main__.py +++ b/companion_software/houston/__main__.py @@ -1,3 +1,7 @@ +# Lewis Crawler +# 2021 - 2022 +# Kitsune Scientific + import logging import verboselogs import coloredlogs diff --git a/companion_software/houston/houston.py b/companion_software/houston/houston.py index 1f29300..0386048 100644 --- a/companion_software/houston/houston.py +++ b/companion_software/houston/houston.py @@ -4,6 +4,8 @@ import time +import houston.robotstreamer.streamer + class Houston: def __init__(self, logger): diff --git a/companion_software/houston/robotstreamer/__init__.py b/companion_software/houston/robotstreamer/__init__.py new file mode 100644 index 0000000..a11e140 --- /dev/null +++ b/companion_software/houston/robotstreamer/__init__.py @@ -0,0 +1,3 @@ +# Lewis Crawler +# 2021 - 2022 +# Kitsune Scientific diff --git a/companion_software/houston/robotstreamer/streamer.py b/companion_software/houston/robotstreamer/streamer.py new file mode 100644 index 0000000..b58e7b5 --- /dev/null +++ b/companion_software/houston/robotstreamer/streamer.py @@ -0,0 +1,13 @@ +# Lewis Crawler +# 2021 - 2022 +# Kitsune Scientific + +import ffmpeg + + +class RobotStreamer: + def __init__(self, logger): + self.log = logger + + def run(self): + self.log.debug('Running RobotStreamer') diff --git a/companion_software/requirements.txt b/companion_software/requirements.txt index 76b7e67..5e8610e 100644 --- a/companion_software/requirements.txt +++ b/companion_software/requirements.txt @@ -1,2 +1,3 @@ coloredlogs verboselogs +ffmpeg-python