Telemetry

Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Telemetry

Post by Marciel032 »

Good news, I hope...

I developed a small mod to export vehicle telemetry.
I also implemented a client in c# to read the data.

It's my first experience with LUA, so it's possible that I did a lot of things I didn't need to.

Everyone is welcome to use, and help improve this project.

The project is on GitHub on the link:
https://github.com/Marciel032/FarmingSimulatorTelemetry

It is in developement, so, help with it.
Thank You.
Last edited by Marciel032 on Thu Dec 16, 2021 11:24 am, edited 2 times in total.
User avatar
Dezza69
Posts: 375
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 »

Awesome!!!

:)

(mod desc "61" for FS22 ... )
Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 »

Hey Dezza

I test the telemetry with the verion 61, and it works very nice.

thank you
User avatar
Dezza69
Posts: 375
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 »

Thanks Marciel!

Me too and yes it does work very nice (the mod on OS - X, but not the other code :lol: ! ) - thank you!

Have you seen "Sim Hub Dash" (https://www.simhubdash.com)??

Just a FYI - It also has a telemetry mod for FS19 which outputs a pipe.
Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 »

About SimHub, I hadn't seen it yet.
I found it interesting, it's very much in line with the project I'm doing.

It would be much better to find another way to export the telemetry, which is not a file. (I don't like the idea either).
I will try to take the time to test other ways.

What do you mean by "pipe"?
Sorry, me English is not the best. :biggrin2:
User avatar
Dezza69
Posts: 375
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 »

... a "pipe" is a feed in user-space which is not a file ...

"a pipeline is a mechanism for inter-process communication using message passing"

https://en.wikipedia.org/wiki/Pipeline_(Unix)
Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 »

ok, thanks for the link

I will read about that.
User avatar
Dezza69
Posts: 375
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 »

:)

... I was doing similar, after trialing Sim Hub for free I ended up buying a licence (the bass shakers work on a faster Hz when licensed) and instead of spending my time coding I spend it gaming and building external button boxes!

:lol:

Kind regards, happy farming and/or gaming!!! :)
Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 »

Finnaly i discovered how to use pipeline in lua with C#.

In the next days i will remove de file write and improve the frame rate. :mrgreen:

Thank you Mr Dezza *thumbsup*
User avatar
Dezza69
Posts: 375
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 »

:) :)
Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 »

ok little guys :mrgreen:

the new version is online!

The read and write in files are removed, and the performance of telemetry data is incresead.

Its time coffe now :geeknew:
Roc
Posts: 1
Joined: Wed Dec 01, 2021 12:33 pm

Re: Telemetry

Post by Roc »

Awesome!

Any progress on the motion telemetry?

Even just a bit of heave to simulate air seat coupled with vorpx would be the biz!

Will be following this closely *thumbsup*
Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 »

Interesting,
maybe in the next week i try to do this.

I will focus in other work in the next days :gamer:

but you are welcome to help in the project, if you are interested :biggrin2:
DrDrulia
Posts: 17
Joined: Tue Jan 22, 2019 5:40 pm

Re: Telemetry

Post by DrDrulia »

What software do I need to use to see telemetry on-screen create overlay?
Marciel032
Posts: 9
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 »

DrDrulia wrote: Sat Feb 05, 2022 3:41 am What software do I need to use to see telemetry on-screen create overlay?
Exists a demo project in folder "ClientCSharp", just you need to do is open it with Visual Studio and compile.
Post Reply