-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelist
37 lines (24 loc) · 2.96 KB
/
Changelist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Here is a list of the major changes, for details, please see ABDoc.pdf or ServerClientProtocol.pdf under the ./doc folder.
================= Server client protocol changes since the IJCAI version ================
The signal byte of the termination is changed from “2” to “-1” (see section Termination in /doc/ServerClientProtocol.pdf)
A few commands are added to the server software (see section Run the Server in /doc/ServerClientProtocol.pdf)
================ Software Changes Since abV1.31 ====================================
1. The RealShape segmentation can now distinguish between hollow and solid objects (see ABDoc.pdf section Object Representation)
2. Better triangle recognition: Triangles are treated as Polygon.java while the previous version often mis-detects the triangles as circle.
3. Add findHills() in Vision.java (in the previous version, the hill is returned by the method findBlocksRealShape())5.
4. Add findTNTs() in Vision.java (in the previous version, you need to call VisionMBR.findTNTs() to get all the TNTs)
5. In Rect.java, the attributes PreciseWidth and PreciseHeight are changed to plength and pwidth, respectively. The corresponding methods are also changed accordingly.
6. The method estimateLaunchPoint (see /src/ab/planner/TrajectoryPlanner.java) now returns empty list of release points when no plausible trajectories found for that target, and in this case, the sample agent will make a 45 degree shot.
7. The isReachable method (see /src/ab/utils/ABUtil) now returns true (reachable) when a trajectory can reach the target without obstruction. Previously, the method only checks the obstruction by assuming the input trajectory always passes the target.
8. Bug Fixes:
8.1 Fix the bug that the method findBirdsRealShape() always returns unknown birds.
8.2 Fix the bug in build.xml where the main-class was set to "ClientNaiveAgent.java" (should be "MainEntry.java")
8.3 Fix the bug that the method findBlocksRealShape() returns Pigs. (Now the method returns Wood, Stone, and Ice)
================ Software Changes Since abV1.3 =====================================
1. New Vision Module (see Package ./src/ab/vision):
The new vision module is composed of two image segmentation components. One component segments an image and outputs a list of the minimum bounding rectangles (MBR) of essential objects in the image. The essential objects includes {“Sling”, "Red Bird”, “Yellow Bird”, “Blue Bird“, “Black Bird”, “White Bird”, "Pig", "Ice", “Wood", "Stone", "TNT”, “TrajPoints”}. The other component outputs real shapes instead. You can use either of them to process a screenshot.
2. Useful methods:
2.1 Get the type of the bird on the sling (see File ./src/ab/demo/other/ActionRobot.java).
2.2 Get all the supports of an object (see File ./src/ab/utils/ABUtil.java).
2.3 Test whether a point is reachable by a trajectory (see File ./src/ab/utils/ABUtil.java).
4. Code re-factoring and bug fixes.