Created
May 20, 2020 20:53
-
-
Save DaniruKun/445316acc9af352ad89965172d6f69d7 to your computer and use it in GitHub Desktop.
Automatic Docking Telemetry Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Yaw | |
(defn get-yaw-delta | |
"" | |
[driv] | |
(let [yaw-delta-q (query driv {:css "#yaw > div.error"}) | |
yaw-delta (get-element-text-el driv yaw-delta-q)] | |
(parse-delta yaw-delta))) | |
(defn get-yaw-rate | |
"" | |
[driv] | |
(let [yaw-rate-q (query driv {:css "#yaw > div.rate"}) | |
yaw-rate (get-element-text-el driv yaw-rate-q)] | |
(parse-delta yaw-rate))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment