Package jadsb.adsb.message

Examples of jadsb.adsb.message.ADSBMsg1


    }

    public void update(ADSBMessage msg) {
        switch (msg.getType()) {
            case 1:
                ADSBMsg1 m1 = (ADSBMsg1) msg;
                callSign = m1.getCallsign();
                break;
            case 2:
                ADSBMsg2 m2 = (ADSBMsg2) msg;
                updatePosition(new Position(LatLon.fromDegrees(m2.getPosition().getLatitude(),
                        m2.getPosition().getLongitude()), m2.getAltitudeInMeters()));
View Full Code Here

TOP

Related Classes of jadsb.adsb.message.ADSBMsg1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.