M-File Help: oa2tr | View code for oa2tr

# oa2tr

Convert orientation and approach vectors to homogeneous transformation

T = oa2tr(o, a) is a homogeneous tranformation for the specified orientation and approach vectors (3x1) formed from 3 vectors such that R = [N o a] and N = o x a.

## Notes

- The rotation submatrix is guaranteed to be orthonormal so long as O and A are not parallel.
- The translational part is zero.
- The vectors O and A are parallel to the Y- and Z-axes of the coordinate frame.

## See also

rpy2tr, eul2tr, oa2r

© 1990-2014 Peter Corke.