Giter Site home page Giter Site logo

spigot / ksp-kipc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dewiniaid/ksp-kipc

0.0 2.0 0.0 88 KB

kIPC - Inter-Process(or) Communication for kOS and kRPC in KSP

License: GNU General Public License v3.0

C# 94.71% Smalltalk 0.01% PowerShell 4.94% Python 0.35%

ksp-kipc's Introduction

ksp-kipc

kIPC - Inter-Process(or) Communication for kOS and kRPC in KSP

About

KIPC (Kerbal Inter-Process Communication) provides a bridge between kOS and KRPC. Specifically, it adds a primitive messaging system that allows Kerboscript code (running in kOS) to communicate with outside programs using kRPC.

Why not just use kOS?

kOS is poorly suited to certain tasks, including complex calculations. The particular incentive to write this mod came about after attempting to make a kOS version of AlexMoon's Launch Window Planner and

Additionally, someone may already have a large kRPC-using project -- or sufficient experience with mainstream programming languages -- to prefer kRPC.

Why not just use kRPC?

kRPC introduces a small amount of latency in fine control of a craft, since messages go over a TCP/IP communication channel and KSP may have additional physics frames before a message to cut throttle is received.

Additionally, someone whose first experience in programming comes from kOS may not want to have to start completely from scratch if they're inspired to start learning a mainstream programming language.

Use Cases

There's two main scenarios where I can see the bridge being useful, though others likely exist.

  • kOS As Mission Control: kOS handles the overall control of a particular vessel, with requests sent to kRPC for complex tasks like maneuver planning.
  • kRPC as Mission Control: kRPC handles the overall control of a particular vessel, with requests sent to kOS for real-time tasks like executing a planned maneuver.

Documentation

ksp-kipc's People

Contributors

dewiniaid avatar tony48 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.