Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
static double | nearest_equivalent (double desired, double current) |
static double | simplify_angle (double angle) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 595 of file carl_moveit.cpp.
static double nearest_equivalent | ( | double | desired, |
double | current | ||
) | [inline, static] |
Calculates nearest desired angle to the current angle
desired | desired joint angle [-pi, pi] |
current | current angle (-inf, inf) |
Definition at line 79 of file carl_moveit.cpp.
static double simplify_angle | ( | double | angle | ) | [inline, static] |
Adjust angle to equivalent angle on [-pi, pi]
angle | the angle to be simplified (-inf, inf) |
Definition at line 64 of file carl_moveit.cpp.