utilities

class jiminy_py.core.hresult_t

Bases: Boost.Python.enum

ERROR_BAD_INPUT = jiminy_py.core.hresult_t.ERROR_BAD_INPUT
ERROR_GENERIC = jiminy_py.core.hresult_t.ERROR_GENERIC
ERROR_INIT_FAILED = jiminy_py.core.hresult_t.ERROR_INIT_FAILED
SUCCESS = jiminy_py.core.hresult_t.SUCCESS
names = {'ERROR_BAD_INPUT': jiminy_py.core.hresult_t.ERROR_BAD_INPUT, 'ERROR_GENERIC': jiminy_py.core.hresult_t.ERROR_GENERIC, 'ERROR_INIT_FAILED': jiminy_py.core.hresult_t.ERROR_INIT_FAILED, 'SUCCESS': jiminy_py.core.hresult_t.SUCCESS}
values = {-3: jiminy_py.core.hresult_t.ERROR_INIT_FAILED, -2: jiminy_py.core.hresult_t.ERROR_BAD_INPUT, -1: jiminy_py.core.hresult_t.ERROR_GENERIC, 1: jiminy_py.core.hresult_t.SUCCESS}
class jiminy_py.core.joint_t

Bases: Boost.Python.enum

FREE = jiminy_py.core.joint_t.FREE
LINEAR = jiminy_py.core.joint_t.LINEAR
NONE = jiminy_py.core.joint_t.NONE
PLANAR = jiminy_py.core.joint_t.PLANAR
ROTARY = jiminy_py.core.joint_t.ROTARY
ROTARY_UNBOUNDED = jiminy_py.core.joint_t.ROTARY_UNBOUNDED
SPHERICAL = jiminy_py.core.joint_t.SPHERICAL
names = {'FREE': jiminy_py.core.joint_t.FREE, 'LINEAR': jiminy_py.core.joint_t.LINEAR, 'NONE': jiminy_py.core.joint_t.NONE, 'PLANAR': jiminy_py.core.joint_t.PLANAR, 'ROTARY': jiminy_py.core.joint_t.ROTARY, 'ROTARY_UNBOUNDED': jiminy_py.core.joint_t.ROTARY_UNBOUNDED, 'SPHERICAL': jiminy_py.core.joint_t.SPHERICAL}
values = {0: jiminy_py.core.joint_t.NONE, 1: jiminy_py.core.joint_t.LINEAR, 2: jiminy_py.core.joint_t.ROTARY, 3: jiminy_py.core.joint_t.ROTARY_UNBOUNDED, 4: jiminy_py.core.joint_t.PLANAR, 6: jiminy_py.core.joint_t.SPHERICAL, 7: jiminy_py.core.joint_t.FREE}
jiminy_py.core.get_joint_type((Model)pinocchio_model, (int)joint_idx) joint_t
jiminy_py.core.is_position_valid((Model)pinocchio_model, (object)position) bool