|
bitsim
Model, simulate, estimate and control robots in C++
|
Public Member Functions | |
| __init__ (self, width, height, side=0.6, line_width=0.035, seed=1) | |
| read (self) | |
| close (self) | |
Static Public Attributes | |
| str | name = "synthetic" |
Protected Attributes | |
| _width = width | |
| _height = height | |
| _side = side | |
| _line_width = line_width | |
| _rng = np.random.default_rng(seed) | |
| _start = time.monotonic() | |
| _paper = np.repeat(light[:, :, None], 3, axis=2) | |
A square of thick dark lines on paper, as a camera above it would see it. The paper is slightly rotated and moves a little over time, and the frames have uneven lighting and noise, so the simulator cannot rely on a perfect picture.
| camera_server.SyntheticSource.__init__ | ( | self, | |
| width, | |||
| height, | |||
| side = 0.6, | |||
| line_width = 0.035, | |||
| seed = 1 ) |
| camera_server.SyntheticSource.close | ( | self | ) |
| camera_server.SyntheticSource.read | ( | self | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |