Detailed Description
Various useful macros and functions that don't belong anywhere else.
Define Documentation
#define DTOR |
( |
d |
|
) |
((d) * M_PI / 180.0) |
|
|
Convert degrees to radians.
|
#define M_PI 3.14159265358979323846 |
|
#define NORMALIZE |
( |
z |
|
) |
atan2(sin(z), cos(z)) |
|
|
Normalize angle to domain -pi, pi.
|
#define RTOD |
( |
r |
|
) |
((r) * 180.0 / M_PI) |
|
|
Convert radians to degrees.
|
Function Documentation
|
Look up the color in the X11 database. (i.e. transform color name to color value). If the color is not found in the database, a bright red color (0xF00) will be returned instead. |
|
calculate the sum of [p1] and [p2], in [p1]'s coordinate system, and copy the result into result. |
void stg_print_err |
( |
const char * |
err |
) |
|
|
|
Report an error, with a standard, friendly message header |
|
Print human-readable geometry on stdout |
|
Print human-readable version of the gripper config struct |
|
Print human-readable version of the laser config struct |
|
Print human-readable pose on stdout |
|
Print human-readable velocity on stdout |
Generated on Thu Dec 13 13:55:22 2007 for Stage by
1.4.6