Skip to content

Commit c79a821

Browse files
Update README.md
1 parent 894c689 commit c79a821

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55
## 1.0 Library Design Concept
66
The library is designed to have zero dependency on the official FTC SDK to provide portability and possibility of running on devices such as PC and Raspberry PI. We believe that the cost to train new programmers for the FTC game can be reduced by using a control system that is not FTC specific (though the API should stay UNIVERSAL).
77
The abstraction of control components lets us extend the possibility of our control system software. We might be constructing software-only competitions on our own competition platform in the near future.
8+
9+
## 2.0 Integrating into your target platform
10+
In your target control software, make sure you do the following.
11+
1. Look into the `GlobalEntry` class, make sure `startRobot()`, `terminateRobot()`, `startLifeCycle()`, and `stopLifeCycle()` is called at the appropriate time.
12+
2. You need to register how you update / refresh encoder datas, digital / analog channel datas for each control loop by calling `ControlLoopUtil.registerRefreshDataCallable(Callable callable)`. Everytime you run a loop in the main thread, you need to manually call `ControlLoopUtil.clearData()` to clear data cache. Usually the registration should be done when startRobot() is called.

0 commit comments

Comments
 (0)