Package jadsb.adsb.message

Examples of jadsb.adsb.message.ADSBMsg2


            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()));
                speed = m2.getSpeed();
                isOnGround = m2.isOnGround();
                updateTrack(m2.getTrack());
                break;
            case 3:
                ADSBMsg3 m3 = (ADSBMsg3) msg;
                updatePosition(new Position(LatLon.fromDegrees(m3.getPosition().getLatitude(),
                        m3.getPosition().getLongitude()), m3.getAltitudeInMeters()));
View Full Code Here

TOP

Related Classes of jadsb.adsb.message.ADSBMsg2

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.