Module nineteen

Module nineteen 

Source
Expand description

API specification for F1 2019.

F1 2019 publishes session and telemetry data through a UDP interface. It defines several different packet types, each containing a particular set of data. These packets are published at different intervals depending on how quickly their data changes.

The full API specification can be found here: https://forums.codemasters.com/topic/44592-f1-2019-udp-specification/

Modules§

event
Decoder for event packets sent by F1 2019
flag
Decoder for flags that can be shown to cars
lap
Decoder for lap data packets sent by F1 2019
motion
Decoder for motion packets sent by F1 2019
participants
Decoder for participants packet sent by F1 2019
session
Decoder for session packet sent by F1 2019
setup
Decoder for car setup packets sent by F1 2019
status
Decoder for car status packets sent by F1 2019
telemetry
Decoder for telemetry packets sent by F1 2019

Enums§

Flag
Flags shown in F1 2019.

Functions§

decode_nineteen
Decode a packet sent by F1 2019

Type Aliases§

VehicleIndex
Index referencing a car in the packet payloads