Hi,
I am trying to use GPS data (lat/long) in enhanced scripts. I seem to be able to get other other (Num Sats, Speed etc) but the latitude and longitude remain static. I am getting the data from a .vbo which I know is good and the track map displays fine but I don't seem to be able to pull the data to work on.
Foreground code.
Code:
// Should be Latitude
DrawNumber(GetDataValue(2), 1, 400, 0, NumberColor, FontSize, AlignH_Right);
// Should be Longtitude
DrawNumber(GetDataValue(3), 1, 400, 0, NumberColor, FontSize, AlignH_Right);
(yes i know I have hardcoded the data value locations).
This is the first line of the .vbo after the general header info
Code:
[column names]
sats time lat long velocity heading height vert-vel dgps Freq Voltage_1 Brake Voltage_3 Voltage_4 ComboG RPM avifileindex avitime
[data]
008 134441.10 003267.29451 000093.38338 016.010 170.88 +00110.14 -000.03 000 +6.30271E+01 +4.96226E-02 +4.60831E+00 +5.46214E-02 +4.88925E-02 +1.81420E-01 +1.78052E+03 0016 -00000001
The display just remains at 54.5 and -1.6.
I am using RR3.5.8b Ultimate.