×

Notice

The forum is in read only mode.

Data for aircraft constantly returning Null

1 year 5 months ago - 1 year 5 months 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
Powered by Kunena Forum