Shared physics utilities: rotational algebra, vector helpers, constants.
Shared physics utilities: rotational algebra, vector helpers, constants.
(euler->rot-matrix {:keys [roll pitch yaw]})Return body→inertial rotation matrix for ZYX (yaw-pitch-roll) angles.
Return body→inertial rotation matrix for ZYX (yaw-pitch-roll) angles.
(normalize v)Return unit vector in direction of v.
Return unit vector in direction of v.
(quaternion-derivative [qw qx qy qz] [p q r])Return quaternion derivative given angular rate vector (rad/s).
Return quaternion derivative given angular rate vector (rad/s).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |