-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This tab will have several buttons for commonly used commands.
Commands to add: OBC command
- Label
wd reset
- OBC Hard Resetwd f_reset
- OBC Reset and Eraseget epoch
- Get EpochAck
- Acknowledge
- Add a new tab to the UI using the instructions in the wiki: https://github.com/SFUSatClub/houston/wiki/Adding-a-Tab
- To the tab, add some buttons that when pressed, will print something to the terminal (as a quick check that it's working).
- Once that works, you can send data out the UART by passing a handle to
serial_TxQ
to theinitialize()
function of your tab's class. The serial transmit queue is a Deque, so refer to the Python docs for how to add items to it. Only a string representation of the actual command is needed, so pass 'get epoch' to the queue when the button is pressed.
UARTTab.py has an example of how to use a button.
Metadata
Metadata
Assignees
Labels
No labels