-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Description of the proposal
kOS is a scripting mod for KSP that allow user to automate a lot of stuff. A way to link kOS with SimPit (meaning for kOS to send data to an Arduino through SimPit or to allow an Arduino to call kOS script through SimPit) would greatly increase the capabilities of controllers without needing additional development on the SimPit mode
Workaround
One way to do this SimPit <-> kOS communication would be through unused CAG. For instance with AGExt installed, SimPit can set an unused CAG (for instance with an ID > 100) and kOS can monitor it. Or the other way around : kOS set a CAG to a specific state and SimPit already send the CAG status to Arduino (pending the fix of #14).
Potential steps
kOS support Addon to support the integration of other mods. We could develop a new add for Simpit support.
It would require :
- Reserve some message ID for messages in both direction
- Adding some public facing method to send messages to the Arduino
- Add in a kOS addon a new command to call this public facing function
- Add a message from Arduino to call a specific kOS script. The scripts to call could be defined in the setting file.