Ongion Posted July 16, 2013 Share Posted July 16, 2013 Hey, I'm trying to integrate data from this plugin into a C++ project. I'm a little confused on the API though. Is there a way to make a sort of "one-shot" request for an individual value like, say, Pitch? Link to comment Share on other sites More sharing options...
Rich Posted July 16, 2013 Author Share Posted July 16, 2013 Since you are using C++, I would advise libcURL for accessing the Telemachus API. I have provided an example API call below for reading the current vessels pitch.http://127.0.01:8055/telemachus/datalink?a=n.pitch Link to comment Share on other sites More sharing options...
xZise Posted July 16, 2013 Share Posted July 16, 2013 All this is possible, but I lack time to expose all this juicy information right now . That and I am not really happy with the way the API works.How bad Hopefully you're making progress in implementing a better API.Fabian Link to comment Share on other sites More sharing options...
xZise Posted July 21, 2013 Share Posted July 21, 2013 Hi, I created a ModuleManger file to support RemoteTechs antennae:// RemoteTech Compability File@PART[RemoteDeployAntenna]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteDipoleAntenna]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RTmegaStrut]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteDish]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteLongRangeDish]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteTrackDish]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteMiniDishJr]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[SatDish9000]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteTechMicroSat]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteTech RC antenna]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RTintelliStrut]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}@PART[RemoteTechAeroProbe]{ MODULE { name = TelemachusDataLink } MODULE { name = TelemachusPowerDrain powerConsumptionBase = 0.01 powerConsumptionIncrease = 0.02 }}Simply create with the extension cfg and place it in a directory like <game>/GameData/Telemachus/. You also need to add ModuleManager.Fabian Link to comment Share on other sites More sharing options...
Rich Posted July 23, 2013 Author Share Posted July 23, 2013 I am not familiar with the complete functionality of the ModuleManager plugin; does this add rudimentary integration into RemoteTech? Link to comment Share on other sites More sharing options...
xZise Posted July 23, 2013 Share Posted July 23, 2013 No it adds the Telemachus functionality of your two antennae to all RemoteTech antennae. so you don't need two antennae (one for each plugin).Fabian Link to comment Share on other sites More sharing options...
TheCanadianVendingMachine Posted July 23, 2013 Share Posted July 23, 2013 I have a suggestion:IF you made the Kerbal Maps for the plugin, can you display your orbit like they do at NASA?I would enjoy this as for it may help with the map view if you are a orbiter Link to comment Share on other sites More sharing options...
Gristle Posted July 23, 2013 Share Posted July 23, 2013 No it adds the Telemachus functionality of your two antennae to all RemoteTech antennae. so you don't need two antennae (one for each plugin).FabianThat's no fun. Link to comment Share on other sites More sharing options...
Mechrior Posted July 24, 2013 Share Posted July 24, 2013 I have already conducted a short mission with the link running from the UK to the USA, so it certainly works using an external IP.I am actually starting up Mine and Syvos's "10 parts to orbit challenge". Each craft is only 10 parts, but each version carries one more kerbal, 1@1 2@2 3@3.... etc.hopefully restarting that on saturday about 10pm GMTwww.twitch.tv/mechrior Link to comment Share on other sites More sharing options...
xZise Posted July 25, 2013 Share Posted July 25, 2013 That's no fun. Now probes like Voyager 1 also have only one antenna for commands and science data. Okay they have afaik three different types, but they all do the same and only differ in the efficiency.Fabian Link to comment Share on other sites More sharing options...
xZise Posted July 25, 2013 Share Posted July 25, 2013 I have a suggestion:IF you made the Kerbal Maps for the plugin, can you display your orbit like they do at NASA?I would enjoy this as for it may help with the map view if you are a orbiterThe map itself is able to draw lines, but the API doesn't provide some crucial data (at least longitude of ascending node is required, I guess). And I have no idea how to calculate that path. But would be an awesome addition.Fabian Link to comment Share on other sites More sharing options...
Rich Posted July 25, 2013 Author Share Posted July 25, 2013 No it adds the Telemachus functionality of your two antennae to all RemoteTech antennae. so you don't need two antennae (one for each plugin).FabianGotcha I have a suggestion:IF you made the Kerbal Maps for the plugin, can you display your orbit like they do at NASA?I would enjoy this as for it may help with the map view if you are a orbiterIt is possible to draw ground track lines, and I definitely want to add them Link to comment Share on other sites More sharing options...
Cepheus Posted July 26, 2013 Share Posted July 26, 2013 Is it possible to have a thrust-time graph? I've been looking around for one, and I haven't managed to find one yet. Link to comment Share on other sites More sharing options...
xZise Posted July 26, 2013 Share Posted July 26, 2013 Is it possible to have a thrust-time graph? I've been looking around for one, and I haven't managed to find one yet.Not now: http://forum.kerbalspaceprogram.com/showthread.php/24594-0-20-0-Telemachus-%E2%80%93-Telemetry-and-Flight-Control-in-the-Web-Browser?p=519039&viewfull=1#post519039Fabian Link to comment Share on other sites More sharing options...
TheCardinal Posted July 26, 2013 Share Posted July 26, 2013 I have no idea if it is possible but i would love to use a utility like this to display in real time all kind of craft data on a second screen (on digital or analog gauges).Perhaps an idea for extending Telemachus? Link to comment Share on other sites More sharing options...
GavinZac Posted July 27, 2013 Share Posted July 27, 2013 I have no idea if it is possible but i would love to use a utility like this to display in real time all kind of craft data on a second screen (on digital or analog gauges).Perhaps an idea for extending Telemachus?Open the browser on a second screen, and have windows/tabs open for different things? There used to be at least some addons for Firefox that created a 'tiled' screen showing more than one tab at the same time. Link to comment Share on other sites More sharing options...
Rich Posted July 28, 2013 Author Share Posted July 28, 2013 Updated for KSP 0.21 Link to comment Share on other sites More sharing options...
Mechrior Posted July 28, 2013 Share Posted July 28, 2013 Updated for KSP 0.21anything changed or added?! (please say camera!!!!!!) Link to comment Share on other sites More sharing options...
Rich Posted July 28, 2013 Author Share Posted July 28, 2013 Not yet, as I am still mainly working on stability (as this concerns me greatly).I did watch some of your stream so I am hoping to push out a quick release later today adding a readout for the throttle level, and resource information for the current stage. Link to comment Share on other sites More sharing options...
Mechrior Posted July 28, 2013 Share Posted July 28, 2013 I did watch some of your stream so I am hoping to push out a quick release later today adding a readout for the throttle level, and resource information for the current stage.o.O should have spoken up buddy! would have pulled you into the chat! Link to comment Share on other sites More sharing options...
Rich Posted July 28, 2013 Author Share Posted July 28, 2013 I was keeping quiet while collecting information on bugs and easy features which might help out any subsequent streams, and as it happens I saw a few issues which I need to investigate.I'll drop by if you do another stream in the future. Link to comment Share on other sites More sharing options...
Mechrior Posted July 29, 2013 Share Posted July 29, 2013 I was keeping quiet while collecting information on bugs and easy features which might help out any subsequent streams, and as it happens I saw a few issues which I need to investigate.Any info on the issues you saw?I'll drop by if you do another stream in the future.More than welcome, we are running part 2 on Wednesday 31st July at 10pm GMT. Let me know if you want to hop in skype, would love to have you there, also Syvos may have a working version of the multiman mission if I can get the separate web interfaces ready by then. Link to comment Share on other sites More sharing options...
Rich Posted July 29, 2013 Author Share Posted July 29, 2013 Issues:1) The "Body not implemented" popup should not be showing where it did.2) I saw a Google graphs error (the small red dialog).3) The constant (and annoying) disconnecting of the antenna which was clearing the Fuel and Oxidiser graph. Link to comment Share on other sites More sharing options...
Mechrior Posted July 29, 2013 Share Posted July 29, 2013 Issues:1) The "Body not implemented" popup should not be showing where it did.This was mostly happening when i was loading a craft from the VAB or SPH and there was no active antenna in game.2) I saw a Google graphs error (the small red dialog).Didnt notice this one myself too much3) The constant (and annoying) disconnecting of the antenna which was clearing the Fuel and Oxidiser graph.this was also happening with batt and rcs as well.need any help testing fixes or extras just give me a shout! Link to comment Share on other sites More sharing options...
xZise Posted July 29, 2013 Share Posted July 29, 2013 Issues:1) The "Body not implemented" popup should not be showing where it did.[…]Yeah for all orbiters around Jool and Kerbol this is happening, because there don't exist Kerbal maps for those two (if you haven't figured it out already).Fabian Link to comment Share on other sites More sharing options...
Recommended Posts