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

Public Member Functions

def __init__ (self, motors={})
 
def setMotorPosition (self, motorName, position)
 
def getMotorPosition (self, motorName)
 
def getMovePositions (self)
 
def goToMove (self)
 

Public Attributes

 isNew
 State of the move (modified or new) More...
 

Private Attributes

 __motors
 A dictionary of all motors. More...
 
 __movePositions
 To store the different positions of the move. More...
 

Detailed Description

A move contains all the position of all the motors for a specific point in space

Definition at line 682 of file RoboAide.py.

Constructor & Destructor Documentation

def ui.RoboAide.Move.__init__ (   self,
  motors = {} 
)

Definition at line 686 of file RoboAide.py.

Member Function Documentation

def ui.RoboAide.Move.getMotorPosition (   self,
  motorName 
)
Accessor for the positions in the move
:param motorName: The name of the motor
:return: Return the position if succesful and an error string if not

Definition at line 710 of file RoboAide.py.

def ui.RoboAide.Move.getMovePositions (   self)

Definition at line 721 of file RoboAide.py.

def ui.RoboAide.Move.goToMove (   self)

Definition at line 724 of file RoboAide.py.

def ui.RoboAide.Move.setMotorPosition (   self,
  motorName,
  position 
)
Setter of the position of a motor in the move
:param motorName: The name of the motor we want to set the positio
:param position: The position of the motor
:return: Return None if succesful and an error string if not

Definition at line 697 of file RoboAide.py.

Member Data Documentation

ui.RoboAide.Move.__motors
private

A dictionary of all motors.

Definition at line 688 of file RoboAide.py.

ui.RoboAide.Move.__movePositions
private

To store the different positions of the move.

Definition at line 690 of file RoboAide.py.

ui.RoboAide.Move.isNew

State of the move (modified or new)

Definition at line 692 of file RoboAide.py.


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