Skip to content

TireCompound API #237

Closed
Closed
@jfgilliam

Description

@jfgilliam

iRacing now outputs your tire compound in the telemetry. Add to the API and possible some of the widgets. Also make it a text widget.

@linus Areng suggested this.

My thoughts and notes:

It probably should be part of the Gauge design. Tire attribute for sure. What other gauges would need a similar attribute? What would a good generic name be? So, if a gauge is changeable, like tires, you get to choose it as well.

Should act like a tire measurement, similar to the temps and pressures?

iRacing puts out these arrays in the vars that returns an enumerated number:

CarIdxTireCompound
CarIdxQualTireCompound
CarIdxQualTireCompoundLocked

Haven't found the enum in the SDK, but here's my guess.
0 = SOFT
1 = MEDIUM
2 = HARD

Need to learn more about how they are used/controlled in a Race. Maybe the ability to choose prior to pitting in the PitController widget.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions