openBVE data output possible?
2 posters
Page 1 of 1
openBVE data output possible?
Hi everyone,
Currently I'm working on an arduino based controller for train sims, to have a little exercise in both soft- and hardware creation. As this is currently only an -input- device(let's make things simple), I started wondering: can openBVE -output- data as well? Could it be possible to output some data in order to work some gauges, or will I have to rely on "remembered" states in an stand-alone controller? If such thing is possible, has there been any info/tuts regarding this?
Thoughts, anyone?
Currently I'm working on an arduino based controller for train sims, to have a little exercise in both soft- and hardware creation. As this is currently only an -input- device(let's make things simple), I started wondering: can openBVE -output- data as well? Could it be possible to output some data in order to work some gauges, or will I have to rely on "remembered" states in an stand-alone controller? If such thing is possible, has there been any info/tuts regarding this?
Thoughts, anyone?
ghenghis- Posts : 5
Join date : 2018-09-25
Re: openBVE data output possible?
How did you want the data?
The 'easy' answer would be to implement a Runtime train plugin and let that communicate with the Arduino:
https://openbve-project.net/documentation/HTML/plugin_overview.html
Other than that, most data is relatively easily accessible within the main source tree, and it's relatively trivial to push out variables if the required data format is known.
To give you a better answer, we really need more details on what data you want, and how you want it.
The 'easy' answer would be to implement a Runtime train plugin and let that communicate with the Arduino:
https://openbve-project.net/documentation/HTML/plugin_overview.html
Other than that, most data is relatively easily accessible within the main source tree, and it's relatively trivial to push out variables if the required data format is known.
To give you a better answer, we really need more details on what data you want, and how you want it.
Re: openBVE data output possible?
Let's start simple - output train speed(send the value to arduino through serial?). Then I guess some HUD info could be outputed as well as AWS, etc... I had in mind to just use arduino as HID device and use keyboard key presses as an input as this was the simplest solution. That was the workaround for me not being proficient in .net(i suppose one cannot use python/java and some wrapper to create content for openBVE , so hello tutorialspoint, my old friend).
ghenghis- Posts : 5
Join date : 2018-09-25
Similar topics
» Test: Send/Receive Data between openBVE and external application
» openBVE 1.2 vs. openBVE 1.4 comparison
» Strange acceleration data in train.dat file - what happens internally?
» Train Lord - massively multiplayer game using real world data and maps
» Camera angles in OpenBVE, possible future optimise options for OpenBVE?
» openBVE 1.2 vs. openBVE 1.4 comparison
» Strange acceleration data in train.dat file - what happens internally?
» Train Lord - massively multiplayer game using real world data and maps
» Camera angles in OpenBVE, possible future optimise options for OpenBVE?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum