EasyManua.ls Logo

Evolution Robotics ER1 - Page 113

Default Icon
170 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ER1 User Guide 10-27
ER1Client.java
return null;
}
String recvMsg = readString();
if (!checkResponse(recvMsg, command))
{
return null;
}
else {
return recvMsg;
}
}
public boolean checkResponse(String response, String command)
{
if (response == null) {
System.out.println("Error sending command " + command + "!");
return false;
}
else {
if (_verbose) {
System.out.print("Response: " + response);
}
return true;
}
}
}

Table of Contents