Getting data from pioneer to use on another device

Pioneer is an open-ended space adventure game. Explore the galaxy, make your fortune trading between systems, or work for the various factions fighting for power, freedom or self-determination.
Homepage: http://pioneerspacesim.net/
IRC: http://pioneerspacesim.net/irc
Downloads: https://pioneerspacesim.net/page/download/
Post Reply
Twinstik
Posts: 2
Joined: Thu Mar 24, 2022 11:43 am

Getting data from pioneer to use on another device

Post by Twinstik »

I'm not a programmer, but...
I'm experimenting with making some sort of rudimentary simpit and was wandering what's the easiest way to get data. For instance, if I wanted distance/altitude from my frame of reference to be on a digital numbers display, where could I read that number from?
For example, there's a Telemachus mod for KSP that collects flight data and sends it to a local web server.
Harder question, just in case there's an easy solution: can you have a different instance of Pioneer running the same ship? Like, if I wanted to have the second monitor dedicated to the star map, could there be a way to do this?
User avatar
impaktor
Private
Posts: 188
Joined: Sun Nov 27, 2016 3:50 pm

RE: Getting data from pioneer to use on another device

Post by impaktor »

Look at the code that is used to put the numbers on the screen to begin with. It's in data/pigui/ possibly the modules/flight-ui would be interesting.
Twinstik
Posts: 2
Joined: Thu Mar 24, 2022 11:43 am

RE: Getting data from pioneer to use on another device

Post by Twinstik »

ooooh lua... hmmmmm... thanks :D
User avatar
impaktor
Private
Posts: 188
Joined: Sun Nov 27, 2016 3:50 pm

RE: Getting data from pioneer to use on another device

Post by impaktor »

On the dev forum there is an old post some where by a guy who modified pioneer's code to accept input from his arduino(?) / mechanical flip switch to raise / lower the landing gear.
I believe this is they guy, here demonstrating it:
User avatar
impaktor
Private
Posts: 188
Joined: Sun Nov 27, 2016 3:50 pm

RE: Getting data from pioneer to use on another device

Post by impaktor »

@hannana You can find the post on the dev forum (try searching the youtube link, or similar. It's there somewhere)
User avatar
impaktor
Private
Posts: 188
Joined: Sun Nov 27, 2016 3:50 pm

RE: Getting data from pioneer to use on another device

Post by impaktor »

@ousba1960 To moderate expectations, there's no build you can download with this feature. All you can get out of it is the sourcecode for it, which is many years stale, you need to know C/C++. If you want to work on this, I assume you're able to find the relevant post on the dev forum, as described above.
Post Reply

Return to “Pioneer”