bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
camera_server.SquarePath Class Reference

Public Member Functions

 __init__ (self, width, height, period, side=0.5, line_width=0.035)
 latest (self)

Public Attributes

 period = period

Protected Attributes

 _start = time.monotonic()
list _frames = []

Detailed Description

One side of a square at a time, the next one every period seconds.

Constructor & Destructor Documentation

◆ __init__()

camera_server.SquarePath.__init__ ( self,
width,
height,
period,
side = 0.5,
line_width = 0.035 )

Member Function Documentation

◆ latest()

camera_server.SquarePath.latest ( self)
The JPEG of the current side, and a number that changes with it

Member Data Documentation

◆ _frames

list camera_server.SquarePath._frames = []
protected

◆ _start

camera_server.SquarePath._start = time.monotonic()
protected

◆ period

camera_server.SquarePath.period = period

The documentation for this class was generated from the following file: