Telemetry

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

Telemetry

Post by Marciel032 » Thu Nov 25, 2021 1:59 pm

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 Wed Dec 01, 2021 8:35 pm, edited 1 time in total.

Dezza69
Posts: 139
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 » Sat Nov 27, 2021 9:58 pm

Awesome!!!

:)

(mod desc "61" for FS22 ... )

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

Re: Telemetry

Post by Marciel032 » Sun Nov 28, 2021 10:02 pm

Hey Dezza

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

thank you

Dezza69
Posts: 139
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 » Mon Nov 29, 2021 11:45 am

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: 7
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 » Mon Nov 29, 2021 12:08 pm

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:

Dezza69
Posts: 139
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 » Mon Nov 29, 2021 1:23 pm

... 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: 7
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 » Mon Nov 29, 2021 1:50 pm

ok, thanks for the link

I will read about that.

Dezza69
Posts: 139
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 » Mon Nov 29, 2021 10:23 pm

:)

... 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: 7
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 » Tue Nov 30, 2021 4:24 am

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*

Dezza69
Posts: 139
Joined: Sun Aug 05, 2018 11:36 pm

Re: Telemetry

Post by Dezza69 » Tue Nov 30, 2021 4:40 am

:) :)

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

Re: Telemetry

Post by Marciel032 » Wed Dec 01, 2021 2:59 am

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 » Wed Dec 01, 2021 12:45 pm

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: 7
Joined: Thu Nov 25, 2021 1:52 pm

Re: Telemetry

Post by Marciel032 » Wed Dec 01, 2021 8:30 pm

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:

Post Reply