Last active
May 20, 2020 22:19
-
-
Save DaniruKun/88a0125a92e6c2c7c9b7bc3524aab5d0 to your computer and use it in GitHub Desktop.
Automatic Docking Dragon alignment demo
This file contains 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
(defn align-pitch-rot | |
"Align rotation on pitch axis." | |
[driv] | |
(if (pitch-within-error?) | |
(kill-pitch-rot driv) | |
(align-pitch driv)) | |
(recur driv)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment