Classes | Functions
jaco Namespace Reference

Classes

class  JacoArmTrajectoryController

Functions

static double nearest_equivalent (double desired, double current)
static double simplify_angle (double angle)

Function Documentation

static double jaco::nearest_equivalent ( double  desired,
double  current 
) [inline, static]

Calculates nearest desired angle to the current angle

Parameters:
desireddesired joint angle [-pi, pi]
currentcurrent angle (-inf, inf)
Returns:
the closest equivalent angle (-inf, inf)

Definition at line 218 of file jaco_arm_trajectory_node.cpp.

static double jaco::simplify_angle ( double  angle) [inline, static]

Adjust angle to equivalent angle on [-pi, pi]

Parameters:
anglethe angle to be simplified (-inf, inf)
Returns:
the simplified angle on [-pi, pi]

Definition at line 143 of file jaco_arm_trajectory_node.cpp.



wpi_jaco_wrapper
Author(s): David Kent
autogenerated on Thu Jun 6 2019 19:43:31