dqrobotics / python

The DQ Robotics library in Python
https://dqrobotics.github.io
GNU Lesser General Public License v3.0
24 stars 9 forks source link

Fix `line_to_line_residual` def in `DQ_Kinematics_py.cpp` #47

Closed qlin960618 closed 1 year ago

qlin960618 commented 1 year ago

~Request for bug fix in dqrobotics python for DQ_Kinematic reference to line_to_line_residual fucntion~

Edit by @mmmarinho for clarity:

Bug & Cause

There is no line_to_line_residual accessible through the Python API. See #48

Fix

The two references to line_to_point_residual in L64, shown below, must be replaced by line_to_line_residual.

https://github.com/dqrobotics/python/blob/413595ee8c1964a7b960c687c19e4f9603d17c35/src/robot_modeling/DQ_Kinematics_py.cpp#L64