RotationConverter

Module that converts between different 3d point/angle notations.

Example XML definition

A simple example

  <module
      class = "RotationConverter"
      name = "RotationConverter"
      input_format = "xyz"
      output_format = "matrix"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "RotationConverter".string
nameThe name of this instance of the module.string
input_formatFormat of the inputchoices:
xyz
xyzaxayaz
axayaz
matrix
quaternion
xyz
output_formatFormat of the outputchoices:
xyz
xyzaxayaz
axayaz
matrix
quaternion
xyz
angle_unitWhat units should be used for angles (Only in Euler angle mode)? 0-360 (degrees), 0-2π (radians), or 0-1, where 1 corresponds to 360° (tau).choices:
degrees
radians
tau
degrees

Module Connections

Inputs

NameDescription
INPUTInput

Outputs

NameDescription
OUTPUTOutput

Limitations

Quaternions not implemented yet.

Author

Birger Johansson
m@birgerjohansson.com
Lund University Cognitive Science

Files

RotationConverter.h
RotationConverter.cc
RotationConverter.ikc

blog comments powered by Disqus