Skip to content

Commit

Permalink
Merge pull request #1 from project-neon/chore/update-version
Browse files Browse the repository at this point in the history
Chore/update version
  • Loading branch information
jpkleal authored Jun 13, 2024
2 parents 57ce9e8 + 46c81de commit 3d4a5ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion pySSLVision/VisionComm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
protobuf==3.6.1
protobuf == 3.20.3
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
license="GNU",
install_requires=['protobuf==3.6.1'],
install_requires=['protobuf==3.20.3'],
)

0 comments on commit 3d4a5ee

Please sign in to comment.