Table of Contents

Class ComputerLibrary

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] A static library for handling the creation of custom commands that can be used for various operation computers and computer classes.


public static class ComputerLibrary
Inheritance
ComputerLibrary

Methods

CreateCommand(string, Dictionary<string, string>, double)

Creates a command with a list of arguments as the parameters. This will create the JSON object with the list of parameters required.

public static JToken? CreateCommand(string command, Dictionary<string, string> parameters, double time = 0)

Parameters

command string

The command to execute

parameters Dictionary<string, string>

The parameter dictionary

time double

[s] The time that the command must be executed at

Returns

JToken

The JSON command that can be used

CreateGuidanceCommand(GuidanceNavigationType, GuidancePointingType, GuidanceControllerType, GuidanceMappingType, double)

Creates a guidance command for the spacecraft operation computer to execute once loaded into the system at a particular time.

public static JToken? CreateGuidanceCommand(GuidanceNavigationType navigation = GuidanceNavigationType.Simple, GuidancePointingType pointing = GuidancePointingType.Inertial, GuidanceControllerType controller = GuidanceControllerType.MRP, GuidanceMappingType mapping = GuidanceMappingType.ReactionWheels, double time = 0)

Parameters

navigation GuidanceNavigationType

The navigation mode to set

pointing GuidancePointingType

The pointing mode to set

controller GuidanceControllerType

The controller mode to set

mapping GuidanceMappingType

The mapping mode to set

time double

[s] The time in which the command is executed

Returns

JToken

The appropriate command JSON to be executed