|
bitsim
Model, simulate, estimate and control robots in C++
|
Public Member Functions | |
| __init__ (self, source, quality) | |
| latest (self) | |
| stop (self) | |
Protected Member Functions | |
| _run (self) | |
Protected Attributes | |
| _source = source | |
| _quality = quality | |
| _lock = threading.Lock() | |
| _jpeg = None | |
| int | _count = 0 |
| bool | _running = True |
| _thread = threading.Thread(target=self._run, daemon=True) | |
Reads frames on a thread of its own and keeps the latest one as JPEG.
| camera_server.FrameGrabber.__init__ | ( | self, | |
| source, | |||
| quality ) |
|
protected |
| camera_server.FrameGrabber.latest | ( | self | ) |
| camera_server.FrameGrabber.stop | ( | self | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |