Classes |
struct | _parameters |
Defines |
#define | DEFAULT_DEVICE_NAME "/dev/ttyUSB0" |
#define | DEFAULT_PARAMETER_FILE "./robot.param" |
#define | GRAVITY 9.81 |
#define | OPTION_DEFAULT (OPTION_HIGH_PREC) |
#define | SIGN(x) ((x < 0) ? -1 : 1) |
Typedefs |
typedef struct _parameters | Parameters |
typedef struct _parameters * | ParametersPtr |
Enumerations |
enum | ParamOptions {
OPTION_SHOW_ODOMETRY = 0x0001,
OPTION_PARAM_CONTROL = 0x0002,
OPTION_SHOW_TIMESTAMP = 0x0004,
OPTION_SHOW_HELP = 0x0008,
OPTION_SHOW_LONGHELP = 0x0010,
OPTION_SHOW_PARAMHELP = 0x0020,
OPTION_VERSION = 0x0040,
OPTION_DAEMON = 0x0080,
OPTION_SOCKET = 0x00200,
OPTION_PARAM_FILE = 0x00400,
OPTION_WITHOUT_DEVICE = 0x00800,
OPTION_WITHOUT_SSM = 0x01000,
OPTION_ENABLE_SET_BS = 0x02000,
OPTION_DO_NOT_USE_YP = 0x04000,
OPTION_RECONNECT = 0x08000,
OPTION_ENABLE_GET_DIGITAL_IO = 0x10000,
OPTION_PASSIVE = 0x20000,
OPTION_UPDATE_PARAM = 0x40000,
OPTION_HIGH_PREC = 0x80000
} |
enum | ParamOutputLv { OUTPUT_LV_ERROR,
OUTPUT_LV_WARNING,
OUTPUT_LV_INFO,
OUTPUT_LV_DEBUG
} |
Functions |
int | apply_robot_params (void) |
int | arg_analyze (int argc, char *argv[]) |
void | arg_help (int argc, char *argv[]) |
void | arg_longhelp (int argc, char *argv[]) |
void | calc_param_inertia2ff (void) |
void | disable_state (YPSpur_state id) |
int | does_option_set (ParamOptions option) |
void | enable_state (YPSpur_state id) |
ParametersPtr | get_param_ptr () |
void | init_param_update_thread (pthread_t *thread, char *filename) |
int | isset_p (YPSpur_param id, enum motor_id motor) |
int | option (ParamOptions option) |
ParamOutputLv | output_lv (void) |
double | p (YPSpur_param id, enum motor_id motor) |
void | param_calc () |
void | param_help (void) |
void | param_update (void *filename) |
void | param_update_loop_cleanup (void *data) |
int | parameter_set (char param, char id, long long int value64) |
double * | pp (YPSpur_param id, enum motor_id motor) |
int | set_param (char *filename, char *concrete_path) |
int | set_param_motor (void) |
int | set_param_velocity (void) |
int | set_paramptr (FILE *paramfile) |
int | state (YPSpur_state id) |