find robot(3)

NAME
find_robot, robot_class -- return RCI system ID and class type for a robot.

USAGE
find_robot (name)
  const char *name;

robot_class (name)
  const char *name;

ARGUMENTS

name --
    Name of the robot.

DESCRIPTION
find_robot() searches the RCI robot library for a robot with the specified name, and, if found, returns the associated robot ID number. If the robot is not found, find_robot returns 0.

robot_class() searches the RCI robot library for a robot with the specified name, and, if found, returns its class. This is an integer defined in the file h/robotClass.h which describes the robot's generic type. For instance, the class PUMA is defined for "PUMA" type robots.

If the robot is defined in the RCI library, then it should be possible to obtain parameter structures for that robot using the routines getJls(), getKyn(), and getVarSize().

SEE ALSO
getJls(), getKyn(), getVarSize().