feat: implemented receiving video image from robot
The functionality is implemented in main.py in the functions start_video_rcv and video_rcv_loop. close: N25B-171
This commit is contained in:
8
src/robot_interface/endpoints/video_sender.py
Normal file
8
src/robot_interface/endpoints/video_sender.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import zmq
|
||||
|
||||
from robot_interface.endpoints.socket_base import SocketBase
|
||||
|
||||
class VideoSender(SocketBase):
|
||||
def __init__(self, zmq_context, port=5556):
|
||||
super(VideoSender, self).__init__("video")
|
||||
self.create_socket(zmq_context, zmq.PUB, port)
|
||||
Reference in New Issue
Block a user