adcs service schema
@@ -58,10 +58,6 @@ GraphQL Schema::
# ...
}
-
-
-Mutations::
-
type Mutation {
noop(): NoopPayload
controlPower(
@@ -147,4 +143,53 @@ Mutations::
}
+ADCS Service
+------------
+
+The ADCS service outline and all following service outlines aim to abstract just the telemetry items and commands that are useful for mission logic. If you need a certain telemetry item for your mission application, please `let us know! <https://slack.kubos.co/>`
+Additional GraphQL Schema::
+
+ type Query {
+ mode(): String
+ orientation(): [Float]
+ spin(): [Float]
+ }
+
+ type Mutation {
+ setMode(
+ input: SetModeInput!
+ ): SetModePayload
+ update(
+ input: UpdateInput
+ ): UpdatePayload
+ }
+
+ type SetModePayload implements MutationResult {
+ errors: [String]
+ success: Boolean
+ }
+
+ input SetModeInput {
+ mode: String
+ configuration: ModeConfiguration
+ }
+
+ # Whatever is needed for the ADCS to enter a mode
+ type ModeConfiguration {
+ parameter1: Float
+ # parameter2: any type
+ # parameter3: any type
+ # ...
+ }
+
+ type UpdatePayload implements MutationResult {
+ errors: [String]
+ success: Boolean
+ }
+
+ input UpdateInput {
+ time: Float
+ gpsLock: [Float]
+ # whatever else needs to be updated for the unit to function properly
+ }
\ No newline at end of file
