|
@@ -64,7 +64,7 @@ public class MyDaemonInterface {
|
|
|
|
|
|
public boolean rel(int pos, int speed) {
|
|
|
try {
|
|
|
- boolean success= (boolean) client.execute("rel", new Object[]{String.valueOf(pos), String.valueOf(speed)});
|
|
|
+ boolean success= (boolean) client.execute("rel", new Object[]{pos, speed});
|
|
|
return success;
|
|
|
} catch (XmlRpcException e) {
|
|
|
e.printStackTrace();
|
|
@@ -74,7 +74,7 @@ public class MyDaemonInterface {
|
|
|
|
|
|
public boolean abs(int pos, int speed) {
|
|
|
try {
|
|
|
- boolean success= (boolean) client.execute("abs", new Object[]{String.valueOf(pos), String.valueOf(speed)});
|
|
|
+ boolean success= (boolean) client.execute("abs", new Object[]{pos, speed});
|
|
|
return success;
|
|
|
} catch (XmlRpcException e) {
|
|
|
e.printStackTrace();
|