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

draft cubesat operating modes as component functions #167

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 144 additions & 0 deletions components/cubesat/functions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
- name: safe_hold
description: Safe Hold
inputs:
- name: operational_status_of_equipment
description: The operation status of the equipment.
type: string
units: ''
defaultValue: ''
constraints: ''
outputs:
- name: {{name}}
description: {{description}}
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: mission_mode_1
description: Mission Mode 1
inputs:
- name: sun_sensor_data
description: 3-Axis sun sensor data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: magnetometer_data
description: 3-Axis magnetometer data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: imu_data
description: IMU data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: gps_time_data
description: GPS and time data (RTC, Lat, N/S, Long, E/W, Altitude)
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
outputs:
- name: quaternions
description: Quaternions
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: orbit_data
description: Orbit data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: mission_mode_2
description: Mission Mode 2
inputs:
- name: sun_sensor_data
description: 3-Axis sun sensor data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: magnetometer_data
description: 3-Axis magnetometer data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: imu_data
description: IMU data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: gps_time_data
description: GPS and time data (RTC, Lat, N/S, Long, E/W, Altitude)
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
outputs:
- name: quaternions
description: Quaternions
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: orbit_data
description: Orbit data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}- name: mission_mode_1
description: Mission Mode 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should be removed

inputs:
- name: sun_sensor_data
description: 3-Axis sun sensor data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: magnetometer_data
description: 3-Axis magnetometer data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: imu_data
description: IMU data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: gps_time_data
description: GPS and time data (RTC, Lat, N/S, Long, E/W, Altitude)
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
outputs:
- name: quaternions
description: Quaternions
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: orbit_data
description: Orbit data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}
- name: comms_mode
description: Comms Mode
inputs:
- name: satellite_health_data
description: Satellite Health Data
type: {{type}}
units: {{units}}
defaultValue: {{defaultValue}}
constraints: {{constraints}}