Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T18:38:47.000Z (about 3 years ago)
- Last Synced: 2024-06-21T09:57:21.786Z (3 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 [![Made With Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg?color=007EC6)](http://golang.org)
Telemetry client for F1 Game, written in Go. Currently, supported only the UDP 2020 format.
![f1-telemetry-client](https://user-images.githubusercontent.com/20264712/121112897-ccc2fb00-c819-11eb-9739-91ccddcbcdc4.png)
## 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).