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

TrackMap: Show the where each sector starts #173

Open
jfgilliam opened this issue Jun 26, 2018 · 0 comments
Labels

Comments

@jfgilliam
Copy link
Contributor

@jfgilliam jfgilliam commented Jun 26, 2018

iRacing provides sector starting points like the following in the data. Have the TrackMap show the sector starting points as small red dots. May not want to show it if it starts at the start/finish line.

Also have Voice Attack call out each sector as you enter it.

Suggested by Steve Kubay

SplitTimeInfo:
 Sectors:
 - SectorNum: 0
   SectorStartPct: 0.000
 - SectorNum: 1
   SectorStartPct: 0.414
 - SectorNum: 2
   SectorStartPct: 0.771

API:
    /Track/Sectors/(SECTORTYPE)/(UOM)
         Return an array of the sector values based on requested type
         Sector Types are:
              PERCENTAGE (the default. Values between 0.0 and 100.0 inclusive)
              LATITUDE
              LONGITUDE
         UOM: (for the lat/long)
              DEG (default), RAD
    /Car/(CARIDENTIFIER)/Sector 
         Return the sector number the car is currently in. Starts with 1.
         
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.