Go to the documentation of this file.
31 #define Spur_init() YPSpur_init()
32 #define Spur_initex(msq) YPSpur_initex(msq)
33 #define Spur_init_socket(ip, port) YPSpur_init_socket(ip, port)
34 #define Spur_stop() YPSpur_stop()
35 #define Spur_free() YPSpur_free()
37 #define Spur_freeze() YPSpur_freeze()
38 #define Spur_isfreeze() YPSpur_isfreeze()
39 #define Spur_unfreeze() YPSpur_unfreeze()
41 #define Spur_line_GL(x, y, th) YPSpur_line(CS_GL, x, y, th)
42 #define Spur_line_LC(x, y, th) YPSpur_line(CS_LC, x, y, th)
43 #define Spur_line_FS(x, y, th) YPSpur_line(CS_FS, x, y, th)
44 #define Spur_line_BS(x, y, th) YPSpur_line(CS_BS, x, y, th)
45 #define Spur_line_BL(x, y, th) YPSpur_line(CS_BL, x, y, th)
47 #define Spur_stop_line_GL(x, y, th) YPSpur_stop_line(CS_GL, x, y, th)
48 #define Spur_stop_line_LC(x, y, th) YPSpur_stop_line(CS_LC, x, y, th)
49 #define Spur_stop_line_FS(x, y, th) YPSpur_stop_line(CS_FS, x, y, th)
50 #define Spur_stop_line_BS(x, y, th) YPSpur_stop_line(CS_BS, x, y, th)
51 #define Spur_stop_line_BL(x, y, th) YPSpur_stop_line(CS_BL, x, y, th)
53 #define Spur_circle_GL(x, y, d) YPSpur_circle(CS_GL, x, y, d)
54 #define Spur_circle_LC(x, y, d) YPSpur_circle(CS_LC, x, y, d)
55 #define Spur_circle_FS(x, y, d) YPSpur_circle(CS_FS, x, y, d)
56 #define Spur_circle_BS(x, y, d) YPSpur_circle(CS_BS, x, y, d)
57 #define Spur_circle_BL(x, y, d) YPSpur_circle(CS_BL, x, y, d)
59 #define Spur_spin_GL(th) YPSpur_spin(CS_GL, th)
60 #define Spur_spin_LC(th) YPSpur_spin(CS_LC, th)
61 #define Spur_spin_FS(th) YPSpur_spin(CS_FS, th)
62 #define Spur_spin_BS(th) YPSpur_spin(CS_BS, th)
63 #define Spur_spin_BL(th) YPSpur_spin(CS_BL, th)
65 #define Spur_orient_GL(th) YPSpur_orient(CS_GL, th)
66 #define Spur_orient_LC(th) YPSpur_orient(CS_LC, th)
67 #define Spur_orient_FS(th) YPSpur_orient(CS_FS, th)
68 #define Spur_orient_BS(th) YPSpur_orient(CS_BS, th)
69 #define Spur_orient_BL(th) YPSpur_orient(CS_BL, th)
71 #define Spur_set_pos_GL(x, y, th) YPSpur_set_pos(CS_GL, x, y, th)
72 #define Spur_set_pos_LC(x, y, th) YPSpur_set_pos(CS_LC, x, y, th)
73 #define Spur_set_pos_BL(x, y, th) YPSpur_set_pos(CS_BL, x, y, th)
75 #define Spur_set_vel(v) YPSpur_set_vel(v)
76 #define Spur_set_angvel(w) YPSpur_set_angvel(w)
77 #define Spur_set_accel(v) YPSpur_set_accel(v)
78 #define Spur_set_angaccel(w) YPSpur_set_angaccel(w)
80 #define Spur_adjust_pos_GL(x, y, th) YPSpur_adjust_pos(CS_GL, x, y, th)
81 #define Spur_adjust_pos_LC(x, y, th) YPSpur_adjust_pos(CS_LC, x, y, th)
82 #define Spur_adjust_pos_FS(x, y, th) YPSpur_adjust_pos(CS_FS, x, y, th)
83 #define Spur_adjust_pos_BS(x, y, th) YPSpur_adjust_pos(CS_BS, x, y, th)
84 #define Spur_adjust_pos_BL(x, y, th) YPSpur_adjust_pos(CS_BL, x, y, th)
86 #define Spur_get_pos_GL(x, y, th) YPSpur_get_pos(CS_GL, x, y, th)
87 #define Spur_get_pos_LC(x, y, th) YPSpur_get_pos(CS_LC, x, y, th)
88 #define Spur_get_pos_BS(x, y, th) YPSpur_get_pos(CS_BS, x, y, th)
89 #define Spur_get_pos_BL(x, y, th) YPSpur_get_pos(CS_BL, x, y, th)
91 #define Spur_get_vel(v, w) YPSpur_get_vel(v, w)
92 #define Spur_get_force(trans, angular) YPSpur_get_force(trans, angular)
94 #define Spur_near_pos_GL(x, y, r) YPSpur_near_pos(CS_GL, x, y, r)
95 #define Spur_near_pos_LC(x, y, r) YPSpur_near_pos(CS_LC, x, y, r)
96 #define Spur_near_pos_BS(x, y, r) YPSpur_near_pos(CS_BS, x, y, r)
97 #define Spur_near_pos_BL(x, y, r) YPSpur_near_pos(CS_BL, x, y, r)
99 #define Spur_near_ang_GL(th, d) YPSpur_near_ang(CS_GL, th, d)
100 #define Spur_near_ang_LC(th, d) YPSpur_near_ang(CS_LC, th, d)
101 #define Spur_near_ang_BS(th, d) YPSpur_near_ang(CS_BS, th, d)
102 #define Spur_near_ang_BL(th, d) YPSpur_near_ang(CS_BL, th, d)
104 #define Spur_over_line_GL(x, y, th) YPSpur_over_line(CS_GL, x, y, th)
105 #define Spur_over_line_LC(x, y, th) YPSpur_over_line(CS_LC, x, y, th)
106 #define Spur_over_line_BS(x, y, th) YPSpur_over_line(CS_BS, x, y, th)
107 #define Spur_over_line_BL(x, y, th) YPSpur_over_line(CS_BL, x, y, th)
109 #define Spur_vel(v, w) YPSpur_vel(v, w)
111 #define Spur_tilt_GL(d, t) YPSpur_tilt(CS_GL, d, t)
112 #define Spur_tilt_LC(d, t) YPSpur_tilt(CS_LC, d, t)
113 #define Spur_tilt_FS(d, t) YPSpur_tilt(CS_FS, d, t)
114 #define Spur_tilt_BS(d, t) YPSpur_tilt(CS_BS, d, t)
115 #define Spur_tilt_BL(d, t) YPSpur_tilt(CS_BL, d, t)
133 int YPSpur_line(
int cs,
double x,
double y,
double theta);
148 double YPSpur_get_pos(
int cs,
double *x,
double *y,
double *theta);
199 #define YPSPUR_JOINT_SUPPORT 1
200 #define YPSPUR_JOINT_ANG_VEL_SUPPORT 1
201 #define YPSPUR_GET_DEVICE_ERROR_STATE_SUPPORT 1
205 #endif // __cplusplus
int YPSpur_set_vel(double v)
int YP_set_io_dir(unsigned char dir)
double YP_get_wheel_vref(double *wrref, double *wlref)
int YP_set_parameter(int param_id, double value)
double YPSpur_get_pos(int cs, double *x, double *y, double *theta)
int YPSpur_initex(int msq_key)
double YPSpur_get_vel(double *v, double *w)
int YPSpur_adjust_pos(int cs, double x, double y, double theta)
int YP_get_parameter_array(int param_id, double *value)
int YPSpur_near_ang(int cs, double th, double d)
int YPSpur_set_angvel(double w)
void YP_request_device_dump(int id, int block)
int YP_get_ad_value(int num)
int YP_wheel_vel(double r, double l)
int YP_set_wheel_vel(double r, double l)
int YPSpur_over_line(int cs, double x, double y, double theta)
int YP_get_parameter(int param_id, double *value)
int YPSpur_set_pos(int cs, double x, double y, double theta)
int YP_joint_torque(int id, double t)
double YP_get_vref(double *vref, double *wref)
double YP_get_wheel_ang(double *theta_r, double *theta_l)
int YPSpur_circle(int cs, double x, double y, double r)
int state(YPSpur_state id)
int YPSpur_isfreeze(void)
int YP_set_io_data(unsigned char data)
double YP_get_joint_vref(int id, double *v)
int YP_joint_ang(int id, double a)
int YPSpur_unfreeze(void)
int YPSpur_set_angaccel(double w)
int YP_wheel_ang(double r, double l)
double YP_get_joint_vel(int id, double *v)
double YP_get_wheel_vel(double *wr, double *wl)
int YP_joint_ang_vel(int id, double a, double v)
double YP_get_joint_torque(int id, double *t)
int YPSpur_line(int cs, double x, double y, double theta)
double YP_get_wheel_torque(double *torque_r, double *torque_l)
int YP_set_joint_accel(int id, double a)
int YP_set_joint_vel(int id, double v)
double YPSpur_get_force(double *trans, double *angular)
int YP_get_error_state(void)
int YP_joint_vel(int id, double v)
int YPSpur_spin(int cs, double theta)
int YP_set_wheel_accel(double r, double l)
int YPSpur_stop_line(int cs, double x, double y, double theta)
int YP_set_control_state(int control_id, int state)
double YP_get_device_error_state(int id, int *err)
int YPSpur_set_accel(double v)
int YP_wheel_torque(double r, double l)
int YPSpur_init_socket(char *ip, int port)
double YP_get_joint_ang(int id, double *a)
int YPSpur_tilt(int cs, double dir, double tilt)
int YPSpur_vel(double v, double w)
int YPSpur_near_pos(int cs, double x, double y, double r)
int YP_set_parameter_array(int param_id, double *value)
int YPSpur_orient(int cs, double theta)
yp-spur
Author(s):
autogenerated on Fri Oct 20 2023 03:02:42