From b9699e31aaf669d316075bcc71392c6d391ee13b Mon Sep 17 00:00:00 2001 From: Raphael-AugustoG Date: Tue, 21 May 2024 09:38:28 -0300 Subject: [PATCH 1/5] chore(update-version): Try to change the protobuff version to work with NeonFc in python version 3.12.1. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 154300f..dabfbae 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -protobuf==3.6.1 \ No newline at end of file +protobuf>= 3.19.3, <= 3.20.1 \ No newline at end of file From e4e9e632e6ee2fc4aaf8820120f971c4f8ce6686 Mon Sep 17 00:00:00 2001 From: Raphael-AugustoG <137107778+Raphael-AugustoG@users.noreply.github.com> Date: Wed, 22 May 2024 11:47:23 -0300 Subject: [PATCH 2/5] Testing install requirements --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c555ab9..2238244 100644 --- a/setup.py +++ b/setup.py @@ -10,5 +10,5 @@ author="Project-Neon", author_email="projectneon@gmail.com", license="GNU", - install_requires=['protobuf==3.6.1'], + #install_requires=['protobuf==3.6.1'], ) From 6b7d6342cd685ae629d9138732dbb3061673738c Mon Sep 17 00:00:00 2001 From: Raphael-AugustoG Date: Thu, 6 Jun 2024 11:46:08 -0300 Subject: [PATCH 3/5] chore(update-version): Resolve issue with vision thread not closing in NeonFC. --- pySSLVision/VisionComm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pySSLVision/VisionComm.py b/pySSLVision/VisionComm.py index afac061..0953b97 100644 --- a/pySSLVision/VisionComm.py +++ b/pySSLVision/VisionComm.py @@ -36,6 +36,8 @@ def __init__(self, config_file=None): self.callback = None + self.kill_recieved = False + def assign_vision(self, callback): self.callback = callback @@ -54,7 +56,7 @@ def run(self): self._wait_to_connect() print("Vision completed!") - while True: + while not self.kill_recieved: env = messages_robocup_ssl_wrapper_pb2.SSL_WrapperPacket() data = self.vision_sock.recv(1024) self.set_fps() From a0d743bc5348c1cd326c44d90a41947a1a132ac8 Mon Sep 17 00:00:00 2001 From: Raphael-AugustoG Date: Thu, 13 Jun 2024 15:49:06 -0300 Subject: [PATCH 4/5] chore(update-version): Change version of protobuff and version of code. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 08bc9ca..1dc9527 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Easily create a network socket between the SSL Vision and your VSSS or SSL softw ## Requirements -- protobuf==3.6.1 +- protobuf==3.20.3 ## Installation Use the code below to install the package from PyPI: From 46c81de82ee1bafd1515963371e241b88c0b7dcc Mon Sep 17 00:00:00 2001 From: Raphael-AugustoG Date: Thu, 13 Jun 2024 15:52:34 -0300 Subject: [PATCH 5/5] chore(update-version): Update versions in all files. --- requirements.txt | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index dabfbae..048818e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -protobuf>= 3.19.3, <= 3.20.1 \ No newline at end of file +protobuf == 3.20.3 \ No newline at end of file diff --git a/setup.py b/setup.py index 2238244..4d14c0d 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,12 @@ setup( name="pySSLVision", packages=find_packages() + find_packages(where="./protocols"), - version="1.0.1", + version="2.0.0", description="Creates a network socket to communicate with the SSL Vision", long_description_content_type='text/markdown', long_description=open('README.md').read(), author="Project-Neon", author_email="projectneon@gmail.com", license="GNU", - #install_requires=['protobuf==3.6.1'], + install_requires=['protobuf==3.20.3'], )