Institut de Robòtica i Informàtica Industrial

minus

PURPOSE ^

Substracts to poses (pperator: -).

SYNOPSIS ^

function D=minus(P1,P2)

DESCRIPTION ^

 Substracts to poses (pperator: -).

 Substracts two poses, P1 and P2. The result is the relative diaplacement, 
 D, between the pose expressed in the global frame of reference. To get the
 relative displacement in the frame of the first parameter use
 Absolute2Relative.
 
 See also  Absolute2Relative.

CROSS-REFERENCE INFORMATION ^

This function calls:
  • Pose Generic pose constructor.
This function is called by:

SOURCE CODE ^

0001 function D=minus(P1,P2)
0002 % Substracts to poses (pperator: -).
0003 %
0004 % Substracts two poses, P1 and P2. The result is the relative diaplacement,
0005 % D, between the pose expressed in the global frame of reference. To get the
0006 % relative displacement in the frame of the first parameter use
0007 % Absolute2Relative.
0008 %
0009 % See also  Absolute2Relative.
0010 
0011   D=Pose(P1.data-P2.data);
0012     
0013


Institut de Robòtica i Informàtica Industrial

Generated on Fri 24-Jul-2009 12:32:50 by m2html © 2003