KI-DrohneFrankfurt UAS
Start › Fliegen

Verbindung vom Entwicklungsrechner

FC-USB, Pi-Verbindung und disarmierte Inspektion.

Originaltitel im Repository: Direct flight-controller USB connection

This workflow connects a Linux developer machine directly to the FlywooF745 flight controller for disarmed MAVLink inspection. It does not require the Pi.

Safety boundary

Connect

The known controller identity is:

USB ID: 1209:5741
Product: FlywooF745
Baud: 115200
MAVLink system ID: 1

After connecting a data-capable USB cable, inspect the stable serial path:

lsusb
ls -l /dev/serial/by-id/ /dev/ttyACM*

Prefer a /dev/serial/by-id/usb-ArduPilot_FlywooF745_...-if00 symlink. A ttyACM number can change after reconnecting.

If the port is not accessible, inspect its group:

ls -l /dev/ttyACM0
id

Serial access commonly uses uucp on Arch Linux and dialout on Debian or Ubuntu. Add the user to the applicable group and log in again; do not solve the problem with a permanent world-writable chmod.

Inspect

Capture a best-effort read-only report over direct USB:

uv run drone-inspect --device /dev/ttyACM0 --duration 10

To inspect through the Pi UART instead, deploy and run the same inspector:

SSH_CONFIG=/dev/null PI_HOST=seb@seb-is-pm.tail59e6a4.ts.net \
  uv run drone-deploy --run inspect -- --duration 10

The manifest distinguishes a live flight-controller heartbeat, downward and forward range streams, optical flow, camera frames, and AprilTags. Missing components are reported rather than failing the run.

MAVProxy remains available as a separately installed expert tool:

mavproxy.py --master=/dev/ttyACM0 --baudrate=115200

Useful read-only MAVProxy commands are:

status
param fetch
param show SERIAL*

Exit with Ctrl-D. MAVProxy writes ignored mav.tlog, mav.tlog.raw, and mav.parm files in the working directory.

Troubleshooting

Device missing

Reconnect the cable and inspect both USB and serial enumeration:

lsusb
ls -l /dev/serial/by-id/ /dev/ttyACM*

A missing sensor reading is separate from USB MAVLink: USB can power the controller while peripherals such as the MTF-01P still require the flight battery.

Device busy

Close other ground-control or serial programs and identify the owner:

fuser /dev/ttyACM0

No heartbeat

Confirm the cable carries data, the selected path exists, no process owns it, and the baud rate is 115200.

Traceback during shutdown

MAVProxy may print a logging-thread traceback after Ctrl-D. If the process exited and the serial port can be reopened, the connection was released.

Disconnect

Exit the console, confirm the process stopped, disconnect any flight battery, then unplug USB.

Diese Seite wird aus dem Repository erzeugt.Quelle: docs/DEVELOPER_MACHINE_DRONE_CONNECTION.md