Skip to content

transform.rotvec2r() Problem #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
In trying to rotate 45 degrees around the Z axis, I get this:

In [55]: rotvec2r(math.pi/4.,[0,0,1])
Out[55]: 
matrix([[ 0.70710678, -0.70710678,  0.29289322],
        [ 0.70710678,  0.70710678,  0.29289322],
        [ 0.        ,  0.        ,  1.        ]])

Those numbers in the last column look fishy. Am I missing something?

Other info:
In [58]: robot.__version__
Out[58]: '1.3.0'

In [60]: !uname -a
Linux mark-laptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC
2009 i686 GNU/Linux

In [61]: !python --version
Python 2.6.4

Thanks for all the good work on this, I really appreciate it.


Original issue reported on code.google.com by mark.kra...@gmail.com on 14 Nov 2009 at 6:40

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions