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

Public Member Functions

def __init__ (self, motors={}, name="")
 
def setName (self, name)
 
def getName (self)
 
def addMove (self, newMove)
 
def getNumberofMoves (self)
 
def getMoves (self)
 
def deleteMove (self, move)
 

Private Attributes

 __moves
 A list of moves. More...
 
 __name
 The name of the sequence. More...
 
 __motors
 A dictionary of all the motors. More...
 

Detailed Description

Sequence is a series of moves that will be executed in a specific order

Definition at line 621 of file RoboAide.py.

Constructor & Destructor Documentation

def ui.RoboAide.Sequence.__init__ (   self,
  motors = {},
  name = "" 
)

Definition at line 625 of file RoboAide.py.

Member Function Documentation

def ui.RoboAide.Sequence.addMove (   self,
  newMove 
)
Adds a move to the list in the sequence
:param newMove: The move to add to the list
:return: No return

Definition at line 652 of file RoboAide.py.

def ui.RoboAide.Sequence.deleteMove (   self,
  move 
)
Delete a specific move of the sequence
:param move: the move to be deleted
:return: No return

Definition at line 673 of file RoboAide.py.

def ui.RoboAide.Sequence.getMoves (   self)
Acessor of the moves of the sequence
:return: The moves of the sequence

Definition at line 666 of file RoboAide.py.

def ui.RoboAide.Sequence.getName (   self)
Accesor for the sequence name
:return: The name of the sequence

Definition at line 645 of file RoboAide.py.

def ui.RoboAide.Sequence.getNumberofMoves (   self)
:return: The number of moves in the sequence

Definition at line 660 of file RoboAide.py.

def ui.RoboAide.Sequence.setName (   self,
  name 
)
Sets the name of the sequence
:param name: The name
:return: No return

Definition at line 636 of file RoboAide.py.

Member Data Documentation

ui.RoboAide.Sequence.__motors
private

A dictionary of all the motors.

Definition at line 634 of file RoboAide.py.

ui.RoboAide.Sequence.__moves
private

A list of moves.

Definition at line 630 of file RoboAide.py.

ui.RoboAide.Sequence.__name
private

The name of the sequence.

Definition at line 632 of file RoboAide.py.


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