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

Issue with getting DiffCarsRelative data for 2 cards using Id or Position as carId #206

Closed
iamisti opened this issue Aug 5, 2019 · 2 comments

Comments

@iamisti
Copy link

commented Aug 5, 2019

Either the documentation is wrong, or something is not working properly.
Method: http://simracingapps.com/docs/JavaDoc/com/SIMRacingApps/Session.html#getDiffCarsRelative-java.lang.String-java.lang.String-

When i'm trying to get the relative distance between Car1 and Car2, it always results to 0 if i try to use the following car id:
Ixx
PCxx

Example:
/DiffCarsRelative/PC1/PC2 does not work

using leader or reference works (although not with every carId combination). But I really want to compare the distance of 2 cars regardless where they are and not necessearly compared to leader or to the reference.

Note: Pxx also works

@iamisti iamisti changed the title No relative data carId is anything different than leader or reference No relative data when using carId Aug 5, 2019

@iamisti iamisti changed the title No relative data when using carId Issue with getting DiffCarsRelative data for 2 cards using Id or Position as carId Aug 6, 2019

@jfgilliam jfgilliam self-assigned this Aug 11, 2019

@jfgilliam jfgilliam added the bug label Aug 11, 2019

@jfgilliam jfgilliam added this to the Version 1.11 milestone Aug 11, 2019

@jfgilliam

This comment has been minimized.

Copy link
Contributor

commented Aug 11, 2019

Even though I, P and PC are based on scoring positions, I added them to this API so they would work. Look for this to be fixed in the next BETA dated after 2019.08.10.

@iamisti

This comment has been minimized.

Copy link
Author

commented Aug 12, 2019

thank you!

jfgilliam added a commit to SIMRacingApps/SIMRacingAppsServer that referenced this issue Aug 18, 2019
Fixed #206 (SIMRacingApps/SIMRacingApps#206)
       Issue with getting DiffCarsRelative data for 2 cards using Id or
Position as carId
jfgilliam added a commit to SIMRacingApps/SIMRacingAppsServer that referenced this issue Aug 21, 2019
1. Fixed #206
(SIMRacingApps/SIMRacingApps#206)
       Issue with getting DiffCarsRelative data for 2 cards using Id or
Position as carId

    2. Fixed #208
(SIMRacingApps/SIMRacingApps#208)
       Silverstone 2019 Track has finish line from old configuration

@jfgilliam jfgilliam closed this in aaed955 Aug 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.