PubInv / NASA-COG

A control system for a highly reliable ceramic oxygen concentrator developed by NASA
GNU Affero General Public License v3.0
1 stars 3 forks source link

Pressing a single 'w' does nothing #266

Closed LokiMetaSmith closed 1 year ago

LokiMetaSmith commented 1 year ago

Or nothing visible.

Need confirmation or ECHO of sent command as received, serial COMS is unreliable and a lack of confirmation is a user interface problem.


Machine : Int1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext2 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Int1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext2 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Int1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext2 Currrently Off. Enter a single 'w' to warmup:
Stage2Heater: Int1
Machine State: Off
Target      C: 30.00
Temp C       : 26.75
Heater DC    : 0.0000
Stage2Heater: Ext1
Machine State: Off
Target      C: 30.00
Temp C       : 27.75
Heater DC    : 0.0000
Stage2Heater: Ext2
Machine State: Off
Target      C: 30.00
Temp C       : 27.00
Heater DC    : 0.0000
running
Machine : Int1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext1 Currrently Off. Enter a single 'w' to warmup:
running
Machine : Ext2 Currrently Off. Enter a single 'w' to warmup:
LokiMetaSmith commented 1 year ago

The helper text needs to change such that the user knows to press 1-3 to enter into the correct control sub state

LokiMetaSmith commented 1 year ago

consider using something akin to mcurses to allow for well structured text interface GUI over serial https://github.com/ChrisMicro/mcurses