Data for aircraft constantly returning Null

10 months 3 weeks ago - 10 months 3 weeks ago #2432 by Blake
Hello! I'm trying to make a program that tracks aircraft data in a text file. However before I get to that point I would like to actually see the data. My following code in theory would do that, however it
import;
import;
import;
import;
public class APIInfoGrabber {

public static void main(String args) throws IOException {

String d = "394a0d"; // icao24 address of french passenger liner

StateVector test = new StateVector(d); // new objects with "d"

double d = test (dot) get Velocity(); (this is formatted correctly in my code, wont let me paste it here without deleting it, and the same for latitude and longitude

This is in javascript, and written in eclipse. It returns only null for the final 3 inputs, lat, long, and velocity.

Edit: Code Formatting

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!