2.4.3.2. ouster_telemetry module

class ouster_telemetry.OusterTelemetry(input_current_ma: int, input_voltage_mv: int, internal_temperature_deg_c: int)[source]

Bases: object

Represents the telemetry data of the ouster sensor.

input_current_ma: int
input_voltage_mv: int
internal_temperature_deg_c: int
class ouster_telemetry.OusterTelemetryRecorder(host: str, port: int, interval: int, output: str)[source]

Bases: object

Records the telemetry data of the ouster sensor. Use the method record_telemetry() to start recording.

host

IP address or hostname of the ouster sensor

port

Port of the ouster sensor

interval

Interval in seconds to record the telemetry data

output

Path to the output file

get_current_sensor_telemetry() OusterTelemetry[source]

Gets the telemetry data from the sensor.

prepare_telemetry_csv() None[source]

Prepares the csv file for recording the telemetry data.

record_telemetry() None[source]

Records the telemetry data from the sensor continuously.

ouster_telemetry.create_ouster_client(host: str, port: int) socket[source]

Creates a socket connection to the ouster sensor.

ouster_telemetry.get_args() Namespace[source]

Gets the command line arguments.