xfly – Factory default “Fly with CodeX” program
CodeAIR factory test and remote flight interface.
This program allows a CodeX to be paired with the CodeAIR for remote controlled flight and telemetry. Pairing is done via close-range infrared (IR), while remote flight is via radio link.
- class codeair.xfly.FlightControl[source]
Manage flying commands from remote paired CodeX
- codeair.xfly.radio_poll(timeout=0.1)[source]
Wait up to timeout secs to receive a CodeAIR packet. Return (ch, id, op, args) or None
- codeair.xfly.radio_send(op, args=())[source]
Transmit a CodeAIR packet (ch, id, op, args) to paired CodeAIR