Macros
dxlport_control.cpp File Reference
#include <ros/ros.h>
#include <ros/package.h>
#include <angles/angles.h>
#include <crane_x7_control/dxlport_control.h>
#include <math.h>
#include <stdio.h>
Include dependency graph for dxlport_control.cpp:

Go to the source code of this file.

Macros

#define DXLPOS2RAD(pos)   (( ((pos)*(360.0/POSITION_STEP) )/360) *2*M_PI)
 
#define EFFORT_LIMIT_COEF   (0.95)
 
#define INIT_EFFCNST_UNIT(c)   ((c)*0.001)
 
#define RAD2DXLPOS(rad)   (( ((rad)/2.0/M_PI)*360.0 ) * (POSITION_STEP / 360.0))
 

Macro Definition Documentation

#define DXLPOS2RAD (   pos)    (( ((pos)*(360.0/POSITION_STEP) )/360) *2*M_PI)

Definition at line 11 of file dxlport_control.cpp.

#define EFFORT_LIMIT_COEF   (0.95)

Definition at line 8 of file dxlport_control.cpp.

#define INIT_EFFCNST_UNIT (   c)    ((c)*0.001)

Definition at line 13 of file dxlport_control.cpp.

#define RAD2DXLPOS (   rad)    (( ((rad)/2.0/M_PI)*360.0 ) * (POSITION_STEP / 360.0))

Definition at line 12 of file dxlport_control.cpp.



crane_x7_control
Author(s): Hiroyuki Nomura , Geoffrey Biggs
autogenerated on Mon Mar 1 2021 03:18:36