Appendix ATRIGONOMETRY

   

A.1 The Two-Argument Arctangent Function

The usual inverse tangent function returns an angle in the range ( − π/2, π/2). In order to express the full range of angles we will find it useful to define the so-called two-argument arctangent function,  Atan2(x, y), which is defined for all (x, y) ≠ (0, 0) and equals the unique angle θ ∈ [ − π, π] such that

(A.1)numbered Display Equation

This function uses the signs of x and y to select the appropriate quadrant for the angle θ. For example, , while . If both x and y are zero, then  Atan2 is undefined.

A.2 Useful Trigonometric Formulas

Below is a list of trigonometric identities that are used to derive various expressions related to forward, inverse, and velocity kinematics.

Pythagorean Identities

numbered Display Equation

Reduction Formulas

numbered Display Equation

Sum-Difference Identities

numbered Display Equation

Double-Angle Identities

Half-Angle Identities

Law of Cosines

Get Robot Modeling and Control, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.