Defines | Functions | Variables
param.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <shvel-param.h>
#include <communication.h>
#include <serial.h>
#include <param.h>
#include <control.h>
#include <command.h>
#include <utility.h>
#include <yprintf.h>
#include <formula-calc.h>
#include <ypspur.h>
#include <pthread.h>
Include dependency graph for param.c:

Go to the source code of this file.

Defines

#define VARIABLE_NUM   37

Functions

int apply_robot_params ()
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)
void enable_state (YPSpur_state id)
ParametersPtr get_param_ptr ()
void init_param_update_thread (pthread_t *thread, char *filename)
int is_character (int c)
int is_number (int c)
int ischanged_p (YPSpur_param id, enum motor_id motor)
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)

Variables

double g_P [YP_PARAM_NUM][YP_PARAM_MAX_MOTOR_NUM]
int g_P_changed [YP_PARAM_NUM][YP_PARAM_MAX_MOTOR_NUM]
int g_P_set [YP_PARAM_NUM][YP_PARAM_MAX_MOTOR_NUM]
Parameters g_param
int g_param_init = 1
struct rpf_tg_Pf [YP_PARAM_NUM][YP_PARAM_MAX_MOTOR_NUM]
char g_state [YP_STATE_NUM]

Define Documentation

#define VARIABLE_NUM   37

Function Documentation

int apply_robot_params ( void  )

Definition at line 1046 of file param.c.

int arg_analyze ( int  argc,
char *  argv[] 
)

Definition at line 174 of file param.c.

void arg_help ( int  argc,
char *  argv[] 
)

Definition at line 120 of file param.c.

void arg_longhelp ( int  argc,
char *  argv[] 
)

Definition at line 134 of file param.c.

void calc_param_inertia2ff ( void  )

Definition at line 1094 of file param.c.

Definition at line 74 of file param.c.

void enable_state ( YPSpur_state  id)

Definition at line 69 of file param.c.

Definition at line 111 of file param.c.

void init_param_update_thread ( pthread_t *  thread,
char *  filename 
)

Definition at line 992 of file param.c.

int is_character ( int  c)

Definition at line 407 of file param.c.

int is_number ( int  c)

Definition at line 418 of file param.c.

int ischanged_p ( YPSpur_param  id,
enum motor_id  motor 
)

Definition at line 89 of file param.c.

int isset_p ( YPSpur_param  id,
enum motor_id  motor 
)

Definition at line 84 of file param.c.

int option ( ParamOptions  option)

Definition at line 99 of file param.c.

Definition at line 106 of file param.c.

double p ( YPSpur_param  id,
enum motor_id  motor 
)

Definition at line 79 of file param.c.

void param_calc ( )

Definition at line 429 of file param.c.

void param_help ( void  )

Definition at line 158 of file param.c.

void param_update ( void *  filename)

Definition at line 1006 of file param.c.

void param_update_loop_cleanup ( void *  data)

Definition at line 1001 of file param.c.

int parameter_set ( char  param,
char  id,
long long int  value64 
)

Definition at line 379 of file param.c.

double* pp ( YPSpur_param  id,
enum motor_id  motor 
)

Definition at line 94 of file param.c.

int set_param ( char *  filename,
char *  concrete_path 
)

Definition at line 922 of file param.c.

int set_param_motor ( void  )

Definition at line 1187 of file param.c.

int set_param_velocity ( void  )

Definition at line 1355 of file param.c.

int set_paramptr ( FILE *  paramfile)

Definition at line 449 of file param.c.

int state ( YPSpur_state  id)

Definition at line 64 of file param.c.


Variable Documentation

Definition at line 56 of file param.c.

Definition at line 57 of file param.c.

Definition at line 58 of file param.c.

Definition at line 61 of file param.c.

int g_param_init = 1

Definition at line 62 of file param.c.

Definition at line 59 of file param.c.

Definition at line 60 of file param.c.



yp-spur
Author(s):
autogenerated on Fri May 10 2019 02:52:19