Generator class for KDL::Path_Circle from different circle representations.
More...
#include <path_circle_generator.h>
|
static double | cosines (const double a, const double b, const double c) |
| law of cosines: returns angle gamma in c² = a²+b²-2ab cos(gamma) More...
|
|
Generator class for KDL::Path_Circle from different circle representations.
Definition at line 30 of file path_circle_generator.h.
pilz::PathCircleGenerator::PathCircleGenerator |
( |
| ) |
|
|
inlineprivate |
set the path circle from start, goal and center point
Note that a half circle should use interim point and cannot be defined by circle center since start/goal/center points are colinear.
- Exceptions
-
Definition at line 22 of file path_circle_generator.cpp.
double pilz::PathCircleGenerator::cosines |
( |
const double |
a, |
|
|
const double |
b, |
|
|
const double |
c |
|
) |
| |
|
staticprivate |
law of cosines: returns angle gamma in c² = a²+b²-2ab cos(gamma)
- Returns
- angle in radians
Definition at line 132 of file path_circle_generator.cpp.
constexpr double pilz::PathCircleGenerator::MAX_COLINEAR_NORM {1e-5} |
|
staticprivate |
constexpr double pilz::PathCircleGenerator::MAX_RADIUS_DIFF {1e-2} |
|
staticprivate |
The documentation for this class was generated from the following files: