RoboAide
Project to improve a DIY robotic arm used for mobility assistance
Public Member Functions | Private Attributes | List of all members
ui.RoboAide.playSequence Class Reference
Inheritance diagram for ui.RoboAide.playSequence:

Public Member Functions

def __init__ (self, moves, motors, listOfSequencesHandler, mainWindow)
 
def run (self)
 
def stop (self)
 
def close (self)
 

Private Attributes

 __moves
 The moves of the sequence containing the different positions to reach. More...
 
 __motors
 The motors of the robot. More...
 
 __listOfSequencesHandler
 The handler of the different sequences. More...
 
 __mainWindow
 The main window of the UI. More...
 

Detailed Description

Tread to send the different positions to the motors during a sequence

Definition at line 42 of file RoboAide.py.

Constructor & Destructor Documentation

def ui.RoboAide.playSequence.__init__ (   self,
  moves,
  motors,
  listOfSequencesHandler,
  mainWindow 
)
Initialization of the play sequence thread
:param moves: the moves of the sequence containing the different positions to reach
:param motors: the motors of the robot
:param listOfSequencesHandler: the handler of the different sequences
:param mainWindow: the main window of the UI

Definition at line 46 of file RoboAide.py.

Member Function Documentation

def ui.RoboAide.playSequence.close (   self)
To get out of the while loop
:return: None

Definition at line 95 of file RoboAide.py.

def ui.RoboAide.playSequence.run (   self)

Definition at line 70 of file RoboAide.py.

def ui.RoboAide.playSequence.stop (   self)
Handles the different events when the thread is closed
:return: None

Definition at line 86 of file RoboAide.py.

Member Data Documentation

ui.RoboAide.playSequence.__listOfSequencesHandler
private

The handler of the different sequences.

Definition at line 60 of file RoboAide.py.

ui.RoboAide.playSequence.__mainWindow
private

The main window of the UI.

Definition at line 62 of file RoboAide.py.

ui.RoboAide.playSequence.__motors
private

The motors of the robot.

Definition at line 58 of file RoboAide.py.

ui.RoboAide.playSequence.__moves
private

The moves of the sequence containing the different positions to reach.

Definition at line 56 of file RoboAide.py.


The documentation for this class was generated from the following file: