Orbital Fusion SDK Documentation

The Orbital Fusion SDK provides a set of tools for integrating with the Orbital Fusion Protocol, currently supporting JavaScript and Arduino (with additional language SDKs planned).

Prerequisites

To use any Orbital Fusion SDK, you must have the Orbital Fusion mod installed.

1. Install StarMap Modloader

Orbital Fusion runs on top of StarMap, which can be downloaded from GitHub.

2. Install the Orbital Fusion Mod

After installing StarMap: Place the OrbitalFusion folder inside:

Kitten Space Agency Root Folder/Content

For example, if the game is installed in Program Files:

C:/Program Files/Kitten Space Agency/Content/OrbitalFusion/OrbitalFusionCore.dll

Ensure the folder structure is correct. StarMap will automatically load the .dll from the Content/OrbitalFusion directory.

Installation

JavaScript

Download currently unavailable

When available, installation will likely be through GitHub or direct download.

Arduino

  1. Download the latest .zip distribution.
  2. Open the Arduino IDE.
  3. Go to Sketch -> Include Library -> Add .ZIP Library...
  4. Select the downloaded archive.
  5. Alternatively, extract manually into: Documents/Arduino/libraries/
  6. Restart the Arduino IDE so it detects the new library.

Quick Start

HTML
<script src="assets/js/fusion-js.js"></script>
JS
FusionJS.begin();
#include <FusionArduino.h>

FusionArduino ksa;

const int baud_rate = 115200;

void setup()
{
  Serial.begin(baud_rate);
  ksa.begin(Serial, baud_rate);
}

void loop()
{
  ksa.update();      // process incoming packets
  delay(10);
}