f74836dfd3
* Run code formatter. * Credo doesn't like `mix format`'s line length. * Fix failing tests re `Angle`.
33 lines
744 B
Elixir
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
|