Functions | Variables
SModelSimpleController Namespace Reference

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)

Function Documentation

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.

Main loop which requests new commands and publish them on the SModelRobotOutput topic.

Definition at line 164 of file SModelSimpleController.py.


Variable Documentation

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.



robotiq_s_model_control
Author(s): Nicolas Lauzier (Robotiq inc.)
autogenerated on Thu Jun 6 2019 17:58:10