You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,8 @@
5
5
## 1.0 Library Design Concept
6
6
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).
7
7
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