M-File Help: trprint2 View code for trprint2

trprint2

Compact display of SE2 homogeneous transformation

trprint2(T, options) displays the homogoneous transform in a compact single-line format. If T is a homogeneous transform sequence then each element is printed on a separate line.

s = trprint2(T, options) as above but returns the string.

TRPRINT T is the command line form of above, and displays in RPY format.

Options

'radian' display angle in radians (default is degrees)
'fmt', f use format string f for all numbers, (default %g)
'label', l display the text before the transform

Examples

>> trprint2(T2)
t = (0,0), theta = -122.704 deg

See also

trprint


 

© 1990-2014 Peter Corke.