-
Notifications
You must be signed in to change notification settings - Fork 0
get deflection angle
Katya Soltan edited this page Aug 11, 2017
·
5 revisions
Calculates angle of vector defined by two points with respect to the +x axis.
prev_base_pt - Coordinates of initial point of previous joint
base_pt - Coordinates of initial point of current joint,
also the terminal point of previous joint
cross_pt - Coordinates of terminal point of current joint that
defines its vector.
Angle in degrees between two joints, defined with respect to the
line of the previous (preceeding) joint.
Relative angles calculated wrt +x axis, so if joint at (-2, 2), will
assume rotation from 1st to 2nd quadrant instead of from 1st to 4th
to 3rd to 2nd.