Revision 539
spaces to tabs in colonet client
Colonet.java | ||
---|---|---|
615 | 615 |
|
616 | 616 |
if (csi != null) { |
617 | 617 |
csi.sendAbsoluteMove(r.id, r.destx, r.desty); |
618 |
} |
|
618 | 619 |
|
619 |
} |
|
620 |
|
|
621 | 620 |
return; |
622 | 621 |
} |
623 | 622 |
|
... | ... | |
822 | 821 |
try { |
823 | 822 |
//request more data |
824 | 823 |
if (csi != null && csi.isReady()) { |
825 |
csi.sendPositionRequest();
|
|
824 |
csi.sendPositionRequest(); |
|
826 | 825 |
csi.sendXBeeIDRequest(); |
827 | 826 |
if (cmbRobotNum.getSelectedIndex() > 0) { |
828 |
String sel = (String) cmbRobotNum.getSelectedItem();
|
|
829 |
int num = Integer.parseInt(sel);
|
|
827 |
String sel = (String) cmbRobotNum.getSelectedItem(); |
|
828 |
int num = Integer.parseInt(sel); |
|
830 | 829 |
csi.sendBatteryRequest(num); |
831 | 830 |
} |
832 | 831 |
} |
Also available in: Unified diff