albertowd / live-telemetry

An Assetto Corsa app to view real time telemetry
26 stars 2 forks source link

HTTP with JSON or UDP with Binary interface implementation #10

Open mime29 opened 4 years ago

mime29 commented 4 years ago

As a discussion, I would like to know if some people are interested in having a network interface to be able to display all the telemetry on wireless devices such as smartphones? If yes, what would be the preference from the main developers json for easy decoding or udp + binary (similar to ACTI eventually)?

albertowd commented 4 years ago

The connection protocol does not define the data within, it could send a JSON data in a UDP package.

mime29 commented 4 years ago

yes, that is correct. Is it a functionality that would be interesting for anybody?

mime29 commented 4 years ago

I was thinking making a simple executable that reads the CSV files (engine and tires) and returns the latest data when a client request them

albertowd commented 4 years ago

I could place a UDP config window to send broadcast data, so any program on the network can receive the package.

albertowd commented 4 years ago

One other thing: there is the OBD-II standards to send vehicle data, it could be useful to make compatible with the game data to use on already developed telemetry software.

albertowd commented 4 years ago

With this specifications, I can implement the default ones and add new data types to the not used codes left in the protocol.

https://en.wikipedia.org/wiki/OBD-II_PIDs

mime29 commented 4 years ago

This is interesting but I don't see tires information in there neither suspensions data. Other than that I think it's a really good idea. And correct me if I'm wrong but I think that if you want to have a complete set of information, you might need to add the gear in your data set. I didn't see that data from your reposition.

Amazing, man!

albertowd commented 4 years ago

This is interesting but I don't see tires information in there neither suspensions data. Other than that I think it's a really good idea. And correct me if I'm wrong but I think that if you want to have a complete set of information, you might need to add the gear in your data set. I didn't see that data from your reposition.

Amazing, man!

I do not use any gear in my app data, but it's possible to add it to the log file. There is much more information in the game API to fetch in real time.

mime29 commented 4 years ago

Sounds good to me. One optional question in the side if you don't mind, do you do that all for free? How do you get paid for your amazing work?

albertowd commented 4 years ago

Sounds good to me. One optional question in the side if you don't mind, do you do that all for free? How do you get paid for your amazing work?

This app I build by myself as a hobby and to my friends that practice more than I to use. But I've already made other private AC plugins, if you're interested in hire me. ;)

I'm a software architect, so for me is a pleasure to code when I'm at home at this time of chaos...hehe

mime29 commented 4 years ago

I totally get it, I just wish there was a way to tip developers for all hours spent on such a project. Donation don't really work with paypal and making paid apps refrain some people to use the software ^^ In any case, I'm not sure yet about what to do with the udp interface. I know that some other apps like Project Cars 2 on console, F1 2018 have pre-made formats for UDP. So I assume that it would be easy to connect with existing smartphone dashboards if the format was following one of those games. I saw apps like RS Dash on ios that support those format. If you make an easy to implement interface, I'm ok to do an iOS version to display the telemetry data (free or paid). A designer would be welcome to deliver some sexy UI that I could implement.

I've already built one app (that is not on the store yet) using ACTI UDP interface but it doesn't offer enough real-time technical data to my taste.