stream.raw

blickfeld_scanner.stream.raw.signal_handler(sig, frame)
class blickfeld_scanner.stream.raw.raw(connection, req, file_name=None)

Class to request a point cloud stream

> Introduced in BSL v2.13 and firmware v1.13

Parameters
  • connection (blickfeld_scanner.scanner.connection) – connection to the device

  • req – request for the raw stream, for example a raw point cloud stream

  • file_name – Path to the file where it should be dumped

recv_bytes()

Receive raw bytes

When a file during creating of the raw object is given, this function will dump the bytes to the file.

Will throw a ConnectionError when the end_of_stream field is set in the received event.

Returns

bytes

stop()

Stop and unsuscribe of the stream.

Receive all remaining packets and the footer. Will receive packets until the ConnectionError is raised, when the server sends the end_of_stream event.

Returns

all remaining bytes accumalated