28 #include <sys/types.h> 33 #endif // HAVE_CONFIG_H 64 resdata[0] = *
pp(cs, 0);
65 resdata[1] = *
pp(cs, 1);
77 *
pp(cs, data[0]) = data[1];
84 resdata[0] = *
pp(cs, resdata[0]);
void param_set_motor_com(int cs, double *data, SpurUserParamsPtr spur)
void robot_speed(SpurUserParamsPtr spur)
void param_state_com(int cs, double *data, SpurUserParamsPtr spur)
void param_set_com(int cs, double *data, SpurUserParamsPtr spur)
double * pp(YPSpur_param id, enum motor_id motor)
int set_param_velocity(void)
int param_get_motor_com(int cs, double *resdata, SpurUserParamsPtr spur)
void odometry(OdometryPtr xp, short *cnt, short *pwm, double dt, double time)
int param_get_com(int cs, double *resdata, SpurUserParamsPtr spur)
void enable_state(YPSpur_state id)
void yprintf(ParamOutputLv level, const char *format,...)
OdometryPtr get_odometry_ptr()
int set_param_motor(void)
void disable_state(YPSpur_state id)