private void updateRobotDefinition(){ RobotDefinitionResponse robotDef = myRobotClient.requestRobotDefinition(); if(robotDef == null){ theLogger.warning("RobotRequest timed out. " + "Unable to update definition."); throw new NullPointerException(); } for(JointDefinition def : robotDef.getJointDefinitions()){ RemoteJoint rj = new RemoteJoint(this, def); addJoint(rj); } } /**