ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem was in :

def client(self):
        '''
        Client Implementation
        '''
        req = False
        if len(sys.argv) == 1:
            req = True
        else:
            print self.usage()
        print "Requesting Coordinate ... "
        coor = self.requestCoordinate(req)
        return coor.motionType, coor.xCoor, coor.yCoor, coor.zCoor, coor.velFac, coor.accFac

Apparently len(sys.argv) did not equal 1. I should have realized the error message I was receiving was the one that was included in the code. That's what I get for not fully understanding code before I use it.