Notifications
Clear all

Getting data from pioneer to use on another device


Twinstik
(@twinstik)
Crewman Registered
Joined: 2 years ago
Posts: 2
Topic starter  

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?


Quote
impaktor
(@impaktor)
Pioneer Moderator
Joined: 7 years ago
Posts: 171
 

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.


ReplyQuote
Twinstik
(@twinstik)
Crewman Registered
Joined: 2 years ago
Posts: 2
Topic starter  

ooooh lua... hmmmmm... thanks 😀


ReplyQuote
impaktor
(@impaktor)
Pioneer Moderator
Joined: 7 years ago
Posts: 171
 

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:


ReplyQuote
hannana
(@hannana)
Crewman Registered
Joined: 4 weeks ago
Posts: 1
 

Any information is helpful. Thanks!

bubble shooter


ReplyQuote
impaktor
(@impaktor)
Pioneer Moderator
Joined: 7 years ago
Posts: 171
 

@hannana You can find the post on the dev forum (try searching the youtube link, or similar. It's there somewhere)


ReplyQuote
Ousba1960
(@ousba1960)
Crewman Registered
Joined: 1 week ago
Posts: 1
 

I need a specific link.


ReplyQuote
impaktor
(@impaktor)
Pioneer Moderator
Joined: 7 years ago
Posts: 171
 

@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.


ReplyQuote