https://github.com/spaghettifunk/f1-telemetry-go
F1 Game Telemetry Client written in Go (no dependency)
https://github.com/spaghettifunk/f1-telemetry-go
Last synced: 6 months ago
JSON representation
F1 Game Telemetry Client written in Go (no dependency)
- Host: GitHub
- URL: https://github.com/spaghettifunk/f1-telemetry-go
- Owner: spaghettifunk
- License: apache-2.0
- Fork: true (anilmisirlioglu/f1-telemetry-go)
- Created: 2021-07-31T12:01:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T18:38:47.000Z (almost 4 years ago)
- Last Synced: 2024-10-02T09:26:32.049Z (9 months ago)
- Language: Go
- Homepage:
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# F1 Game Telemetry Client in Go [](http://golang.org)
Telemetry client for F1 Game, written in Go. Currently, supported only the UDP 2020 format.

## Features
- Event System
- Rich Env Constants
- UDP Stats (recv, err and packet per second rate),
- Vector3 support## Install
```bash
go get -u github.com/anilmisirlioglu/f1-telemetry-go
```## Quick Start
```go
func main() {
client, err := telemetry.NewClient()
if err != nil {
log.Fatal(err)
}client.OnEventPacket(func(packet *packets.PacketEventData) {
fmt.Printf("Code: %s\n", packet.EventCodeString())
})client.Run()
}
```## Docs
If you need more information on the F1 UDP specifications, see the [docs](/docs).