-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more sensor proc commands and screens
- Loading branch information
Showing
8 changed files
with
154 additions
and
48 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
COSMOS/flatsat/config/targets/ADCS_SENSORPROC/cmd_tlm/_sp_states.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
STATE OK 0 | ||
STATE WARN_LOWER 1 | ||
STATE ERR_LOWER 2 | ||
STATE WARN_UPPER 3 | ||
STATE ERR_UPPER 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
COSMOS/flatsat/config/targets/ADCS_SENSORPROC/screens/manual_power.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
SCREEN AUTO AUTO 1.0 | ||
|
||
TITLE "Manual GPS Power" | ||
|
||
MATRIXBYCOLUMNS 4 | ||
LABEL "Buck converter" | ||
VALUE ADCS_SENSORPROC GPSPOWER BUCK | ||
BUTTON "Disable" "cmd('ADCS_SENSORPROC TEST_BUCK with ENABLE 0')" | ||
BUTTON "Enable" "cmd('ADCS_SENSORPROC TEST_BUCK with ENABLE 1')" | ||
|
||
LABEL "GPS switch" | ||
VALUE ADCS_SENSORPROC GPSPOWER GPS | ||
BUTTON "Disable" "cmd('ADCS_SENSORPROC TEST_GPS_SWITCH with ENABLE 0')" | ||
BUTTON "Enable" "cmd('ADCS_SENSORPROC TEST_GPS_SWITCH with ENABLE 1')" | ||
|
||
LABEL "RESET pin" | ||
VALUE ADCS_SENSORPROC GPSPOWER RESET | ||
BUTTON "Activate" "cmd('ADCS_SENSORPROC TEST_RESET with ACTIVATE 0')" | ||
BUTTON "Deactivate" "cmd('ADCS_SENSORPROC TEST_RESET with ACTIVATE 1')" | ||
END |
16 changes: 0 additions & 16 deletions
16
COSMOS/flatsat/config/targets/ADCS_SENSORPROC/screens/pos.txt
This file was deleted.
Oops, something went wrong.
58 changes: 58 additions & 0 deletions
58
COSMOS/flatsat/config/targets/ADCS_SENSORPROC/screens/sensors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
SCREEN AUTO AUTO 1.0 | ||
|
||
HORIZONTALBOX | ||
|
||
VERTICALBOX | ||
SECTIONHEADER "GPS" | ||
|
||
VALUE ADCS_SENSORPROC POSVEL POS_STATUS | ||
|
||
HORIZONTALLINE | ||
|
||
SECTIONHEADER "Time" | ||
LABELVALUE ADCS_SENSORPROC POSVEL WEEK | ||
LABELVALUE ADCS_SENSORPROC POSVEL MS | ||
|
||
SECTIONHEADER "Position" | ||
LABELVALUEDESC ADCS_SENSORPROC POSVEL POSX "X" | ||
LABELVALUEDESC ADCS_SENSORPROC POSVEL POSY "Y" | ||
LABELVALUEDESC ADCS_SENSORPROC POSVEL POSZ "Z" | ||
|
||
SECTIONHEADER "Velocity" | ||
LABELVALUEDESC ADCS_SENSORPROC POSVEL VELX "X" | ||
LABELVALUEDESC ADCS_SENSORPROC POSVEL VELY "Y" | ||
LABELVALUEDESC ADCS_SENSORPROC POSVEL VELZ "Z" | ||
END | ||
|
||
|
||
VERTICALBOX | ||
SECTIONHEADER "Sun sensor" | ||
|
||
LABELVALUEDESC ADCS_SENSORPROC SUNSENSOR STATUS | ||
LABELFORMATVALUE ADCS_SENSORPROC SUNSENSOR ALPHA "%.2f" FORMATTED | ||
LABELFORMATVALUE ADCS_SENSORPROC SUNSENSOR BETA "%.2f" FORMATTED | ||
|
||
CANVAS 241 241 | ||
CANVASLABEL 120 20 "B 60" | ||
CANVASLABEL 120 240 "B -60" | ||
CANVASLABEL 0 120 "A -60" | ||
CANVASLABEL 190 120 "A 60" | ||
CANVASLINE 0 0 240 0 | ||
CANVASLINE 240 0 240 240 | ||
CANVASLINE 240 240 0 240 | ||
CANVASLINE 0 240 0 0 | ||
CANVASLINE 119 1 119 239 gray | ||
CANVASLINE 1 119 239 119 gray | ||
CANVASDOT 'tlm_variable("ADCS_SENSORPROC SUNSENSOR ALPHA", :RAW) * 2 + 120' 'tlm_variable("ADCS_SENSORPROC SUNSENSOR BETA", :RAW) * -2 + 120' red 5 | ||
END | ||
END | ||
|
||
|
||
VERTICALBOX | ||
SECTIONHEADER "Photodiodes" | ||
LABELVALUE ADCS_SENSORPROC PHOTODIODE CENTER | ||
LABELVALUE ADCS_SENSORPROC PHOTODIODE LEFT | ||
LABELVALUE ADCS_SENSORPROC PHOTODIODE CENTER | ||
END | ||
|
||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
COSMOS/flatsat/config/targets/ADCS_SENSORPROC/screens/sun_sensor.txt
This file was deleted.
Oops, something went wrong.