Building My Own Telemetry System for F1 2017 (Game) Using Golang, InfluxDB and Grafana.

Intro

Image for post
Image for post
Image for post
Image for post
UDP Telemetry Settings in F1 2017
// Packet size – 1289 bytesstruct UDPPacket{float m_time;float m_lapTime;float m_lapDistance;float m_totalDistance;float m_x; // World space positionfloat m_y; // World space positionfloat m_z; // World space positionfloat m_speed; // Speed of car in MPH //First mistake, the speed is measured in m/s.........See the full struct at the blog post : http://forums.codemasters.com/discussion/53139/f1-2017-d-box-and-udp-output-specification
Image for post
Image for post
Grafana Dashboard (at Github project)
Image for post
Image for post
F1 Dashboard

First Step: Make a Collector

influxdb.go complete

Second Step: Install The InfluxDB

[[udp]]
enabled = true
bind-address = ":8089"
database = "f1"
.........
influx
>> CREATE DATABASE f1
>> exit

Third Step: Install The Grafana

wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.2.1_armhf.deb 
sudo dpkg -i grafana_5.2.1_armhf.deb
sudo service grafana-server start
Image for post
Image for post

Fourth Step: Configure Our First Dashboard

Image for post
Image for post
Image for post
Image for post

Final

Coinmonks

Coinmonks is a non-profit Crypto educational publication.

Sign up for Crypto News

By Coinmonks

A newsletter that brings you week's best crypto and blockchain stories and trending news directly in your inbox, by CoinCodeCap.com Take a look

Create a free Medium account to get Crypto News in your inbox.

rafael otero reinert

Written by

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

rafael otero reinert

Written by

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight.

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox.

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month.

Get the Medium app