|
RoboAide
Project to improve a DIY robotic arm used for mobility assistance
|
Public Member Functions | |
| def | __init__ (self, mainWindow, motors) |
| def | addItem (self, item) |
| def | removeSelectedItem (self) |
| def | createWindow (self, modifySequence=False) |
| def | showMenu (self, event) |
| def | enableUi (self) |
| def | getSelectedItems (self) |
| def | playSequence (self) |
Public Attributes | |
| playSequenceThread | |
| Thread to send the sequence to the motors. More... | |
| robotInMotionMessage | |
| Message to make the user put a name to the sequence TODO: Set the size of the message to something appropriate. More... | |
Private Attributes | |
| __motors | |
| The dictionary of all the motors. More... | |
| __listOfSequences | |
| The list of sequence. More... | |
| __createSequenceButton | |
| The create a new sequence button. More... | |
| __ui | |
| The ui in which the list of sequence is in. More... | |
| __mainWindow | |
| The main window of the ui. More... | |
| __window | |
| The window in which the new sequence will be created. More... | |
Handler for the list of sequences
Definition at line 125 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.__init__ | ( | self, | |
| mainWindow, | |||
| motors | |||
| ) |
Initializtion of the handler for the list of sequences :param ui: The ui in which the list of sequence is in :param motors: The dictionary of all the motors
Definition at line 129 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.addItem | ( | self, | |
| item | |||
| ) |
Add an item to the list of sequence :param item: The QListWidgetItem sequence to add :return: No return
Definition at line 166 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.createWindow | ( | self, | |
modifySequence = False |
|||
| ) |
Create the window to create a new sequence :param modifySequence: bool, if true there's a selected sequence that needs to be modified if false it's a new sequence :return: No return
Definition at line 200 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.enableUi | ( | self | ) |
Enable the ui :return: No return
Definition at line 228 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.getSelectedItems | ( | self | ) |
Accessor to the selected items of the list :return: the selected items
Definition at line 235 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.playSequence | ( | self | ) |
Definition at line 243 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.removeSelectedItem | ( | self | ) |
Removes the selected item in the list :return: No return
Definition at line 174 of file RoboAide.py.
| def ui.RoboAide.ListOfSequencesHandler.showMenu | ( | self, | |
| event | |||
| ) |
The right click menu of the sequence of the list :param event: The event (here right click) that makes the menu come up :return: No return
Definition at line 216 of file RoboAide.py.
|
private |
The create a new sequence button.
Definition at line 141 of file RoboAide.py.
|
private |
The list of sequence.
Definition at line 138 of file RoboAide.py.
|
private |
The main window of the ui.
Definition at line 145 of file RoboAide.py.
|
private |
The dictionary of all the motors.
Definition at line 136 of file RoboAide.py.
|
private |
The ui in which the list of sequence is in.
Definition at line 143 of file RoboAide.py.
|
private |
The window in which the new sequence will be created.
Definition at line 147 of file RoboAide.py.
| ui.RoboAide.ListOfSequencesHandler.playSequenceThread |
Thread to send the sequence to the motors.
Definition at line 149 of file RoboAide.py.
| ui.RoboAide.ListOfSequencesHandler.robotInMotionMessage |
Message to make the user put a name to the sequence TODO: Set the size of the message to something appropriate.
Definition at line 152 of file RoboAide.py.
1.8.11