start new:
tmux
start new with session name:
tmux new -s myname
In [4]: response | |
Out[4]: | |
{'messages': {'claimed': 2409, | |
'free': 146929, | |
'newest': {'age': 12, | |
'created': '2013-08-12T20:45:46Z', | |
'href': 'queues/fizbit/messages/50b68a50d6f5b8c8a7c62b01'}, | |
'oldest': {'age': 63, | |
'created': '2013-08-12T20:44:55Z', | |
'href': 'queues/fizbit/messages/50b68a50d6f5b8c8a7c62b01'}, |
This document is research for the selection of a communication platform for robot-net.
The purpose of this component is to enable rapid, reliable, and elegant communication between the various nodes of the network, including controllers, sensors, and actuators (robot drivers). It will act as the core of robot-net to create a standardized infrastructure for robot control.
Requirements:
# Streaming Client | |
import socket | |
HOST = 'localhost' | |
PORT = 50007 | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((HOST, PORT)) | |
while True: |
from tifffile import TiffFile | |
import numpy as np | |
def get_crop(page, i0, j0, h, w): | |
"""Extract a crop from a TIFF image file directory (IFD). | |
Only the tiles englobing the crop area are loaded and not the whole page. | |
This is usefull for large Whole slide images that can't fit int RAM. |