Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add support for kOS #56

Open
PBechon opened this issue May 20, 2021 · 0 comments
Open

[Feature]: Add support for kOS #56

PBechon opened this issue May 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@PBechon
Copy link
Collaborator

PBechon commented May 20, 2021

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.
@PBechon PBechon added the enhancement New feature or request label May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant