Class: TelloTelemetry

TelloTelemetry()

WebSocket server that broadcasts OSD telemetry to browser clients. Optionally forwards to Warp 10 and/or MQTT.

Constructor

new TelloTelemetry()

Source:

Methods

send()

Broadcast a telemetry frame to all connected WebSocket clients (throttled to 500ms).

Broadcast a telemetry frame to all connected WebSocket clients (throttled to 500ms).

Source:

sendVideo()

Broadcast a raw video chunk to all connected clients.

Broadcast a raw video chunk to all connected clients.

Source:

start()

Start the WebSocket server on port 1338.

Start the WebSocket server on port 1338. Initialises Warp 10 and MQTT forwarders if configured in options.

Source:

stop()

Stop the HTTP and WebSocket server.

Stop the HTTP and WebSocket server.

Source: