kinemat/lib/kinemat.ex
James Harton f74836dfd3 Update to Elixir 1.6
* Run code formatter.
* Credo doesn't like `mix format`'s line length.
* Fix failing tests re `Angle`.
2018-01-19 10:40:56 +13:00

33 lines
744 B
Elixir

defmodule Kinemat do
defmacro __using__(_opts) do
quote do
alias Kinemat.{
Point,
Cartesian,
Cylindrical,
Spherical,
Orientation,
Euler,
RotationMatrix,
Quaternion,
# Joint, Point, Prismatic, Radians, Revolute, Spherical,
Frame
}
import Angle.Sigil
end
end
@moduledoc """
Kinemat handles forward, reverse and dynamics kinematics for robotic systems
and 3D simulation.
Use this module to automatically include a bunch of aliases and helpers.
## Examples
iex> use Kinemat
...> Euler.init(:xyz, ~a(0), ~a(0), ~a(0))
#Kinemat.Orientation<[euler: :xyz, x: #Angle<0>, y: #Angle<0>, z: #Angle<0>]>
"""
end