Set up a client
Anything that speaks MAVLink can feed the proxy. Point it at the proxy's UDP port —
localhost:14550 for Docker, or <node-ip>:30550 for the
Kubernetes NodePort.
Flight controller (ArduPilot / PX4)
On the vehicle or a companion computer, add a MAVLink output pointing at the proxy. With MAVProxy or a SITL:
# forward a real link (serial) to the Ollebo proxy mavproxy.py --master=/dev/ttyACM0 --out=udpout:PROXY_HOST:14550 # or from an ArduPilot SITL sim_vehicle.py -v ArduCopter --out=udpout:PROXY_HOST:14550
Replace PROXY_HOST with your Docker host or a cluster node IP.
QGroundControl / Mission Planner
Add a UDP comm link that sends to PROXY_HOST:14550
(in QGroundControl: Application Settings → Comm Links → Add → UDP → Target Host). The
ground station keeps working while the proxy mirrors telemetry to Ollebo.
A script (pymavlink)
Simulate a vehicle from Python — useful to test the pipeline end to end:
pip install pymavlink
from pymavlink import mavutil
import time
# sysid must not be 255 (that's a ground station and is filtered)
m = mavutil.mavlink_connection('udpout:PROXY_HOST:14550', source_system=1)
lat, lon = 59.3293, 18.0686
while True:
m.mav.heartbeat_send(mavutil.mavlink.MAV_TYPE_QUADROTOR,
mavutil.mavlink.MAV_AUTOPILOT_ARDUPILOTMEGA, 0, 0,
mavutil.mavlink.MAV_STATE_ACTIVE)
m.mav.global_position_int_send(0, int(lat*1e7), int(lon*1e7),
120000, 60000, 0, 0, 0, 9000) # hdg = 90 deg
lon += 0.0001
time.sleep(0.5)
Ready-made test tool
The Ollebo/mavproxy
repo ships tools/mav_test.py — it streams every message type and can verify
the data reached the API:
python3 tools/mav_test.py --host PROXY_HOST --port 14550 \ --verify --key YOUR_MISSION_KEY
A camera
The client for video is ffmpeg, and it does not talk to the proxy at all — it publishes straight to Ollebo's ingest over RTSPS. Same vehicle, separate path:
# take STREAM_ID and STREAM_KEY from your mission ffmpeg -f v4l2 -framerate 30 -video_size 1280x720 -i /dev/video0 \ -c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -g 60 \ -f rtsp -rtsp_transport tcp \ "rtsps://publish:$STREAM_KEY@ingest.ollebo.com:443/$STREAM_ID"
Send live video has the same command for a Raspberry Pi camera, a macOS camera, an existing IP camera and a looping file — plus where to get the two values.
No MAVLink? Send events directly
You don't need MAVLink or the proxy at all — you can POST events straight to the API with
a single curl. See the
API reference.