#include <stdio.h>
#include <ypparam.h>
#include <utility.h>
#include <pthread.h>
Go to the source code of this file.
|
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,
OPTION_PING = 0x100000
} |
|
enum | ParamOutputLv { OUTPUT_LV_ERROR,
OUTPUT_LV_WARNING,
OUTPUT_LV_INFO,
OUTPUT_LV_DEBUG
} |
|
|
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) |
|
#define DEFAULT_DEVICE_NAME "/dev/ttyUSB0" |
#define DEFAULT_PARAMETER_FILE "./robot.param" |
#define SIGN |
( |
|
x | ) |
((x < 0) ? -1 : 1) |
Enumerator |
---|
OPTION_SHOW_ODOMETRY |
|
OPTION_PARAM_CONTROL |
|
OPTION_SHOW_TIMESTAMP |
|
OPTION_SHOW_HELP |
|
OPTION_SHOW_LONGHELP |
|
OPTION_SHOW_PARAMHELP |
|
OPTION_VERSION |
|
OPTION_DAEMON |
|
OPTION_SOCKET |
|
OPTION_PARAM_FILE |
|
OPTION_WITHOUT_DEVICE |
|
OPTION_WITHOUT_SSM |
|
OPTION_ENABLE_SET_BS |
|
OPTION_DO_NOT_USE_YP |
|
OPTION_RECONNECT |
|
OPTION_ENABLE_GET_DIGITAL_IO |
|
OPTION_PASSIVE |
|
OPTION_UPDATE_PARAM |
|
OPTION_HIGH_PREC |
|
OPTION_PING |
|
Definition at line 31 of file param.h.
Enumerator |
---|
OUTPUT_LV_ERROR |
|
OUTPUT_LV_WARNING |
|
OUTPUT_LV_INFO |
|
OUTPUT_LV_DEBUG |
|
Definition at line 65 of file param.h.
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 init_param_update_thread |
( |
pthread_t * |
thread, |
|
|
char * |
filename |
|
) |
| |
void param_update |
( |
void * |
filename | ) |
|
void param_update_loop_cleanup |
( |
void * |
data | ) |
|
int parameter_set |
( |
char |
param, |
|
|
char |
id, |
|
|
long long int |
value64 |
|
) |
| |
int set_param |
( |
char * |
filename, |
|
|
char * |
concrete_path |
|
) |
| |
int set_param_motor |
( |
void |
| ) |
|
int set_param_velocity |
( |
void |
| ) |
|
int set_paramptr |
( |
FILE * |
paramfile | ) |
|