Skip to content

Pinocchio Casadi interface for matrixToRpy() #2361

Description

@waynekyrie

Bug description

I'm trying to convert a rotation matrix to a rotation vector. The numerical function works fine, but the casadi interface seems not working. A short example is as shown below.

import casadi as ca
import pinocchio
import pinocchio.casadi as cpin
rot_mtx_ca = ca.SX.eye(3)
cpin.rpy.matrixToRpy(rot_mtx_ca)

The error message is attached below.

Boost.Python.ArgumentError: Python argument types in
    pinocchio.pinocchio_pywrap_casadi.rpy.matrixToRpy(SX)
did not match C++ signature:
    matrixToRpy(Eigen::MatrixBase<Eigen::Matrix<double, 3, 3, 0, 3, 3>> R)

I'm using pinocchio 3.1.0 and casadi 3.6.5.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions