uwgraphics / relaxed_ik_core

MIT License
84 stars 26 forks source link

ctypes argtypes missing in Python wrapper for `reset` function #9

Open jmpinit opened 9 months ago

jmpinit commented 9 months ago

Hello,

The argtypes for reset here: https://github.com/uwgraphics/relaxed_ik_core/blob/d58c494b4b7519c1ec25fb21c9569ccc4d904d1b/wrappers/python_wrapper.py#L22

Should instead be:

lib.reset.argtypes = [ctypes.POINTER(RelaxedIKS), ctypes.POINTER(ctypes.c_double), ctypes.c_int]