Java Reference
In-Depth Information
private void parsePosition(String value,
double position[]) {}
private void parseMeasures(String value,
double measures[]) {}}
Robot position: X # 90
Y # 200
DIR # 270°
Commands
"R1.GETPOS"
"L1.SCAN"
Robot position: X # 90
Y # 260
DIR # 270°
Commands
"P1.MOVEBW60"
"R1.GETPOS"
"L1.SCAN"
Robot position: X # 190
Y # 260
DIR # 360°
Commands
"P1.ROTATE
RIGHT90"
"P1.MOVEBW100"
"R1.GETPOS"
"L1.SCAN"
Figure 10.16 A sequence of laser scans from different positions. Copyright © 2005 Sun Microsystems, Inc. All
rights reserved. Reproduced by permission of Sun Microsystems, Inc.
Search WWH ::




Custom Search