xplane_connect 1.0.1 xplane_connect: ^1.0.1 copied to clipboard
Library to get an easy stream of data about XPlane UDP protocol.
XPlane Connect #
Library to get an easy stream of data about XPlane UDP protocol.
How to use #
In the XPlane configuration, on Data Output check 'Network via UDP' on the required o requires index.
Then check 'Send nework data output', configure IP address and port of the dart/flutter client.
A simple dart usage example:
import 'package:xplane_connect/xplane_connect.dart';
void main() {
var xPlaneData = XplaneConnect(49001);
xPlaneData.stream.listen((data) {
print('Aircraft pitch: ${data[17][0]}');
});
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.