Skip to content

Kerbal007/KAPCOM

 
 

Repository files navigation

KAPCOM

Build Status

Coverage Status

Code Issues

About

This set of Python scripts and Arduino sketch can be used to send and receive information via the Telemachus plugin for Kerbal Space Program. The idea is to:

  • Create Python modules for interacting with an Arduino as well as handling device specific tasks
  • Create a Python library which acts as a middleman between the PyKSP Python module and the Arduino module
  • Create a simple Arduino sketch which allows remote execution of commands by Python over serial
  • Provide a sample configuration file and schematic for Arduino. The sample will show:
    • Examples of how to connect digital (buttons and switches) input for system states.
    • Examples of how to connect analog (joysticks and faders) input to control the vehicle.
    • Examples of how to display data either as seven segment displays or as analog gauges.

There is NO visible component to the Python script other than logging. It is purely an interface between other points. The idea is that this should be a flexible stepping off point for other DIYers to easily jump into making your own hardware console.

I have tried to keep data and roles strictly segmented and to keep hardware specifics in specific places. In an ideal world, you should only have to customize the configuration file to suit your desires (and current budget!)

Name

The name is a reference to the "Capsule Communicator" which commiunicated with the crew of NASA's manned flights. Of course, it wouldn't be Kerbal Space Program if there wasn't a "K" somewhere.

License

GNU GPL 3.0

Credits

Thanks to RichardBunt for the wonderful Telemachus plugin for Kerbal Space Program. Many thanks for your hard work on the project.

Thanks to thearn for the Python-Arduino-Command-API which I based my Arduino sketch and module upon.

Thanks to Louis Goessling for the PyKSP API.

Thanks to KK4TEE for the foundation of this script. Although I rewrote enough of it to make forking unrealistic, the idea and core are based on their Control Panel project.

Finally, thanks to Squad for Kerbal Space Program!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.9%
  • Python 38.0%
  • C++ 2.2%
  • CSS 1.6%
  • HTML 1.3%