Closed chewheel closed 2 years ago
@chewheel Thank you for the draft. I'll revise it and get back to you when I can.
@chewheel Added in Python: b846cd6 CPP: 866f35e
Refer to https://github.com/dqrobotics/python-examples/tree/master/line_segment_to_line_segment_vfi
Importing the following
from dqrobotics import *
from dqrobotics.robot_modeling import DQ_Kinematics
from dqrobotics.utils import DQ_Geometry
will allow one to use
DQ_Kinematics.line_segment_to_line_segment_distance_jacobian(...)
DQ_Geometry.line_segment_to_line_segment_squared_distance(...)
Which are enough to properly generate the VFIs.
To support all of this development I also added
DQ_Geometry.closest_points_between_lines(...)
DQ_Geometry.is_line_segment(...)
DQ_Geometry.closest_points_between_line_segments(...)
I'd like to submit an enhancement request to have the shaft-to-shaft collision avoidance added to the library. The constraint is inspired on Section V of
And