Package geometry :: Module poses
[hide private]
[frames] | no frames]

Module poses

source code

Functions [hide private]
 
SE2_from_SE3(pose, check_exact=True, z_atol=1e-06)
Projects a pose in SE3 to SE2.
source code
 
SE2_from_rotation_translation(R, t)
:param R: :type R: ``array[NxN],SO``
source code
 
SE2_from_se2(vel)
Converts from Lie algebra representation to pose.
source code
 
SE2_from_se2_slow(vel)
:param vel: :type vel: ``se2``
source code
 
SE2_from_translation_angle(t, theta)
Returns an element of SE2 from translation and rotation.
source code
 
SE2_from_xytheta(xytheta)
Returns an element of SE2 from translation and rotation.
source code
 
SE2_identity()
:rtype: ``SE2``
source code
 
SE3_from_SE2(pose)
Embeds a pose in SE2 to SE3, setting z=0 and upright.
source code
 
SE3_from_rotation_translation(R, t)
:param R: :type R: ``array[NxN],SO``
source code
 
SE3_identity()
:rtype: ``SE3``
source code
 
angle_from_SE2(pose)
:param pose: :type pose: ``SE2``
source code
 
check_SE(M)
Checks that the argument is in the special euclidean group.
source code
 
check_se(M)
Checks that the input is in the special euclidean Lie algebra.
source code
 
combine_pieces(a, b, c, d)
:param a: :type a: ``array[MxM]``
source code
 
extract_pieces(x)
:param x: :type x: ``array[NxN]``
source code
 
linear_angular_from_se2(vel)
:param vel: :type vel: ``se2``
source code
 
pose_from_rotation_translation(R, t)
:param R: :type R: ``array[NxN],SO``
source code
 
rotation_translation_from_SE2(pose)
:param pose: :type pose: ``array[NxN],SE``
source code
 
rotation_translation_from_SE3(pose)
:param pose: :type pose: ``array[NxN],SE``
source code
 
rotation_translation_from_pose(pose)
:param pose: :type pose: ``array[NxN],SE``
source code
 
se2_from_SE2(pose)
Converts a pose to its Lie algebra representation.
source code
 
se2_from_SE2_slow(pose)
Converts a pose to its Lie algebra representation.
source code
 
se2_from_linear_angular(linear, angular)
Returns an element of se2 from linear and angular velocity.
source code
 
translation_angle_from_SE2(pose)
:param pose: :type pose: ``SE2``
source code
 
translation_from_SE2(pose)
:param pose: :type pose: ``SE2``
source code
 
translation_from_SE3(pose)
:param pose: :type pose: ``SE3``
source code
Variables [hide private]
  __package__ = 'geometry'
Function Details [hide private]

SE2_from_SE3(pose, check_exact=True, z_atol=1e-06)

source code 

       Projects a pose in SE3 to SE2.
   
       If check_exact is True, it will check that z = 0 and axis ~= [0,0,1].
   


:param pose: 
:type pose:  ``SE3``

:rtype:  ``SE2``

SE2_from_rotation_translation(R, t)

source code 

:param R: :type R: ``array[NxN],SO``

:param t: :type t: ``array[N]``

:rtype: ``array[MxM],M=N+1,SE``

SE2_from_se2(vel)

source code 
Converts from Lie algebra representation to pose. 
           
       See Bullo, Murray "PD control on the euclidean group" for proofs.
   


:param vel: 
:type vel:  ``se2``

:rtype:  ``SE2``

SE2_from_se2_slow(vel)

source code 

:param vel: :type vel: ``se2``

:rtype: ``SE2``

SE2_from_translation_angle(t, theta)

source code 

Returns an element of SE2 from translation and rotation.

:param theta: :type theta: ``number``

:param t: :type t: ``array[2]|seq[2](number)``

:rtype: ``SE2``

SE2_from_xytheta(xytheta)

source code 

Returns an element of SE2 from translation and rotation.

:param xytheta: :type xytheta: ``array[3]|seq[3](number)``

:rtype: ``SE2``

SE3_from_SE2(pose)

source code 

Embeds a pose in SE2 to SE3, setting z=0 and upright.

:param pose: :type pose: ``SE2``

:rtype: ``SE3``

SE3_from_rotation_translation(R, t)

source code 

:param R: :type R: ``array[NxN],SO``

:param t: :type t: ``array[N]``

:rtype: ``array[MxM],M=N+1,SE``

angle_from_SE2(pose)

source code 

:param pose: :type pose: ``SE2``

:rtype: ``float``

combine_pieces(a, b, c, d)

source code 

:param a: :type a: ``array[MxM]``

:param c: :type c: ``array[M]``

:param b: :type b: ``array[M]``

:param d: :type d: ``number``

:rtype: ``array[NxN],N=M+1``

extract_pieces(x)

source code 

:param x: :type x: ``array[NxN]``

:rtype: ``tuple(array[MxM],array[M],array[M],number),M=N-1``

linear_angular_from_se2(vel)

source code 

:param vel: :type vel: ``se2``

:rtype: ``tuple(array[2],float)``

pose_from_rotation_translation(R, t)

source code 

:param R: :type R: ``array[NxN],SO``

:param t: :type t: ``array[N]``

:rtype: ``array[MxM],M=N+1,SE``

rotation_translation_from_SE2(pose)

source code 

:param pose: :type pose: ``array[NxN],SE``

:rtype: ``tuple(array[MxM],array[M]),M=N-1``

rotation_translation_from_SE3(pose)

source code 

:param pose: :type pose: ``array[NxN],SE``

:rtype: ``tuple(array[MxM],array[M]),M=N-1``

rotation_translation_from_pose(pose)

source code 

:param pose: :type pose: ``array[NxN],SE``

:rtype: ``tuple(array[MxM],array[M]),M=N-1``

se2_from_SE2(pose)

source code 

       Converts a pose to its Lie algebra representation.
       
       See Bullo, Murray "PD control on the euclidean group" for proofs.
   


:param pose: 
:type pose:  ``SE2``

:rtype:  ``se2``

se2_from_SE2_slow(pose)

source code 

Converts a pose to its Lie algebra representation.

:param pose: :type pose: ``SE2``

:rtype: ``se2``

se2_from_linear_angular(linear, angular)

source code 

Returns an element of se2 from linear and angular velocity.

:param linear: :type linear: ``array[2]|seq[2](number)``

:param angular: :type angular: ``number``

:rtype: ``se2``

translation_angle_from_SE2(pose)

source code 

:param pose: :type pose: ``SE2``

:rtype: ``tuple(array[2],float)``

translation_from_SE2(pose)

source code 

:param pose: :type pose: ``SE2``

:rtype: ``array[2]``

translation_from_SE3(pose)

source code 

:param pose: :type pose: ``SE3``

:rtype: ``array[3]``