Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Car Coordinates #5

Open
theouteredge opened this issue Dec 15, 2018 · 4 comments
Open

Car Coordinates #5

theouteredge opened this issue Dec 15, 2018 · 4 comments

Comments

@theouteredge
Copy link

Hey,

I'm trying to get the car coordinates so I car draw a map of the line someone has taken, and using the following code to get the coordinates:

Longitude = new TelemetryValue<double>(sdk, "Lon").Value;
Latitude = new TelemetryValue<double>(sdk, "Lat").Value;

But I keep getting zero back for both fields. Are these the correct fields to be getting or is there some other undocumented fields? I couldn't see anything in the fields pdf

@sushi86
Copy link

sushi86 commented Oct 23, 2019

Same Problem here...
Also tried as double[] (maybe coordinates from all cars, but didnt work)

@NickThissen can you maybe provide some help?

@NickThissen
Copy link
Owner

These values are not available live, only in replays.

@sushi86
Copy link

sushi86 commented Oct 23, 2019

Wow thanks for this quick answer!
I found the associated forum post for this (very sad):
https://members.iracing.com/jforum/posts/list/2275/1470675.page#9731950

@pskaarup
Copy link

pskaarup commented Nov 8, 2019

@theouteredge @sushi86 I was looking at this myself. It looks like you could use LapDistPct or LapDist to indicate where the car is in relation to start/stop line. It be enough to show drivers on track but little use other than that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants