30 #include <sys/types.h> 34 #endif // HAVE_CONFIG_H 36 #define YP_SPUR_RUNTIME int YPSpur_adjust_pos(int cs, double x, double y, double theta)
int YPSpur_md_set_vel(YPSpur *dev, double v)
int YPSpur_md_initex(YPSpur *dev, int msq_key)
int YPSpur_isfreeze(void)
int YPSpur_unfreeze(void)
int YPSpur_set_pos(int cs, double x, double y, double theta)
int YP_md_wheel_ang(YPSpur *dev, double r, double l)
int YP_wheel_ang(double r, double l)
int YPSpur_md_free(YPSpur *dev)
int YPSpur_md_line(YPSpur *dev, int cs, double x, double y, double theta)
int YPSpur_set_angvel(double w)
int YP_joint_ang_vel(int id, double a, double v)
int YPSpur_init_socket(char *ip, int port)
int YP_set_wheel_accel(double r, double l)
int YP_md_joint_ang_vel(YPSpur *spur, int id, double a, double v)
int YPSpur_md_isfreeze(YPSpur *dev)
double YP_get_wheel_torque(double *torque_r, double *torque_l)
double YP_md_get_joint_vel(YPSpur *spur, int id, double *v)
double YPSpur_md_get_pos(YPSpur *dev, int cs, double *x, double *y, double *theta)
int YPSpur_md_freeze(YPSpur *dev)
int YP_set_joint_vel(int id, double v)
double YP_md_get_wheel_vel(YPSpur *dev, double *wr, double *wl)
int YP_set_joint_accel(int id, double a)
int YPSpur_md_orient(YPSpur *dev, int cs, double theta)
int YP_get_parameter(int param_id, double *value)
int YPSpur_md_over_line(YPSpur *dev, int cs, double x, double y, double theta)
int YP_set_parameter_array(int param_id, double *value)
int YPSpur_md_set_pos(YPSpur *dev, int cs, double x, double y, double theta)
int YPSpur_md_set_accel(YPSpur *dev, double v)
int YP_md_set_io_dir(YPSpur *dev, unsigned char dir)
int YPSpur_md_circle(YPSpur *dev, int cs, double x, double y, double r)
int YP_wheel_vel(double r, double l)
int YP_md_wheel_torque(YPSpur *dev, double r, double l)
double YP_md_get_joint_torque(YPSpur *spur, int id, double *t)
int YP_md_set_parameter_array(YPSpur *dev, int param_id, double *value)
int YPSpur_initex(int msq_key)
double YP_get_vref(double *v, double *w)
double YP_get_wheel_ang(double *theta_r, double *theta_l)
double YP_md_get_joint_vref(YPSpur *spur, int id, double *v)
double YP_get_joint_vel(int id, double *v)
int YPSpur_set_accel(double dv)
int YPSpur_md_near_ang(YPSpur *dev, int cs, double th, double d)
double YP_get_joint_ang(int id, double *a)
int YP_md_set_io_data(YPSpur *dev, unsigned char data)
int YP_get_ad_value(int num)
int YP_md_set_joint_accel(YPSpur *spur, int id, double a)
int YPSpur_md_stop_line(YPSpur *dev, int cs, double x, double y, double theta)
int YP_md_wheel_vel(YPSpur *dev, double r, double l)
double YPSpur_md_get_force(YPSpur *dev, double *trans, double *angular)
int YP_md_get_ad_value(YPSpur *dev, int num)
int YP_get_parameter_array(int param_id, double *value)
int YPSpur_vel(double v, double w)
int YPSpur_line(int cs, double x, double y, double theta)
int YP_md_set_joint_vel(YPSpur *spur, int id, double v)
int YP_md_set_parameter(YPSpur *dev, int param_id, double value)
int YPSpur_tilt(int cs, double dir, double tilt)
int YPSpur_md_tilt(YPSpur *dev, int cs, double dir, double tilt)
double YP_get_wheel_vel(double *wr, double *wl)
int YPSpur_md_init(YPSpur *dev)
double YP_md_get_wheel_vref(YPSpur *dev, double *wrref, double *wlref)
double YP_get_device_error_state(int id, int *err)
int YPSpur_md_near_pos(YPSpur *dev, int cs, double x, double y, double r)
int YPSpur_set_angaccel(double dw)
int YP_md_joint_ang(YPSpur *spur, int id, double a)
int YPSpur_spin(int cs, double theta)
int YP_md_set_wheel_accel(YPSpur *dev, double r, double l)
double YPSpur_md_get_vel(YPSpur *dev, double *v, double *w)
int YP_set_io_data(unsigned char data)
double YP_get_joint_torque(int id, double *w)
int YP_md_get_error_state(YPSpur *dev)
int YP_md_get_parameter(YPSpur *dev, int param_id, double *value)
int YPSpur_near_ang(int cs, double th, double d)
double YP_md_get_wheel_ang(YPSpur *dev, double *theta_r, double *theta_l)
int YPSpur_over_line(int cs, double x, double y, double theta)
double YP_md_get_wheel_torque(YPSpur *dev, double *torque_r, double *torque_l)
int YP_md_set_wheel_vel(YPSpur *dev, double r, double l)
double YPSpur_get_force(double *trans, double *angular)
int YP_md_get_parameter_array(YPSpur *dev, int param_id, double *value)
int YPSpur_md_set_angaccel(YPSpur *dev, double w)
int YPSpur_md_unfreeze(YPSpur *dev)
double YP_md_get_device_error_state(YPSpur *dev, int id, int *err)
int YP_joint_ang(int id, double a)
double YP_md_get_vref(YPSpur *dev, double *vref, double *wref)
int YPSpur_md_init_socket(YPSpur *dev, char *ip, int port)
double YPSpur_get_pos(int cs, double *x, double *y, double *theta)
int state(YPSpur_state id)
int YPSpur_md_vel(YPSpur *dev, double v, double w)
double YP_md_get_joint_ang(YPSpur *spur, int id, double *a)
int YP_joint_torque(int id, double t)
int YPSpur_circle(int cs, double x, double y, double r)
int YPSpur_md_adjust_pos(YPSpur *dev, int cs, double x, double y, double theta)
int YP_md_joint_torque(YPSpur *spur, int id, double t)
int YPSpur_md_set_angvel(YPSpur *dev, double w)
double YP_get_wheel_vref(double *wr, double *wl)
int YP_md_openfree(YPSpur *dev)
int YP_md_joint_vel(YPSpur *spur, int id, double v)
int YP_set_io_dir(unsigned char dir)
int YPSpur_md_spin(YPSpur *dev, int cs, double theta)
int YP_joint_vel(int id, double v)
int YPSpur_stop_line(int cs, double x, double y, double theta)
int YPSpur_md_stop(YPSpur *dev)
int YP_set_wheel_vel(double r, double l)
int YPSpur_orient(int cs, double theta)
double YPSpur_get_vel(double *v, double *w)
double YP_get_joint_vref(int id, double *v)
int YPSpur_near_pos(int cs, double x, double y, double r)
int YP_md_set_control_state(YPSpur *dev, int control_id, int state)
int YPSpur_set_vel(double v)
int YP_wheel_torque(double r, double l)
int YP_set_parameter(int param_id, double value)
int YP_set_control_state(int control_id, int state)