Functions | |
def | askForCommand |
def | genCommand |
def | publisher |
Variables | |
string | strAskForCommand = '-----\nAvailable commands\n\n' |
currentCommand += ', rGLV = ' + str(command.rGLV) currentCommand += ', rICF = ' + str(command.rICF) currentCommand += ', rICS = ' + str(command.rICS) |
def SModelSimpleController.askForCommand | ( | command | ) |
Ask the user for a command to send to the gripper.
Definition at line 117 of file SModelSimpleController.py.
def SModelSimpleController.genCommand | ( | char, | |
command | |||
) |
Update the command according to the character entered by the user.
Definition at line 51 of file SModelSimpleController.py.
def SModelSimpleController.publisher | ( | ) |
Main loop which requests new commands and publish them on the SModelRobotOutput topic.
Definition at line 164 of file SModelSimpleController.py.
string SModelSimpleController::strAskForCommand = '-----\nAvailable commands\n\n' |
currentCommand += ', rGLV = ' + str(command.rGLV) currentCommand += ', rICF = ' + str(command.rICF) currentCommand += ', rICS = ' + str(command.rICS)
currentCommand += ', rPRB = ' + str(command.rPRB) currentCommand += ', rSPB = ' + str(command.rSPB) currentCommand += ', rFRB = ' + str(command.rFRB) currentCommand += ', rPRC = ' + str(command.rPRC) currentCommand += ', rSPC = ' + str(command.rSPC) currentCommand += ', rFRC = ' + str(command.rFRC) currentCommand += ', rPRS = ' + str(command.rPRS) currentCommand += ', rSPS = ' + str(command.rSPS) currentCommand += ', rFRS = ' + str(command.rFRS)
Definition at line 145 of file SModelSimpleController.py.