Macros | Functions
ypspur.h File Reference
#include <ypparam.h>
Include dependency graph for ypspur.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Spur_adjust_pos_BL(x, y, th)   YPSpur_adjust_pos(CS_BL, x, y, th)
 
#define Spur_adjust_pos_BS(x, y, th)   YPSpur_adjust_pos(CS_BS, x, y, th)
 
#define Spur_adjust_pos_FS(x, y, th)   YPSpur_adjust_pos(CS_FS, x, y, th)
 
#define Spur_adjust_pos_GL(x, y, th)   YPSpur_adjust_pos(CS_GL, x, y, th)
 
#define Spur_adjust_pos_LC(x, y, th)   YPSpur_adjust_pos(CS_LC, x, y, th)
 
#define Spur_circle_BL(x, y, d)   YPSpur_circle(CS_BL, x, y, d)
 
#define Spur_circle_BS(x, y, d)   YPSpur_circle(CS_BS, x, y, d)
 
#define Spur_circle_FS(x, y, d)   YPSpur_circle(CS_FS, x, y, d)
 
#define Spur_circle_GL(x, y, d)   YPSpur_circle(CS_GL, x, y, d)
 
#define Spur_circle_LC(x, y, d)   YPSpur_circle(CS_LC, x, y, d)
 
#define Spur_free()   YPSpur_free()
 
#define Spur_freeze()   YPSpur_freeze()
 
#define Spur_get_force(trans, angular)   YPSpur_get_force(trans, angular)
 
#define Spur_get_pos_BL(x, y, th)   YPSpur_get_pos(CS_BL, x, y, th)
 
#define Spur_get_pos_BS(x, y, th)   YPSpur_get_pos(CS_BS, x, y, th)
 
#define Spur_get_pos_GL(x, y, th)   YPSpur_get_pos(CS_GL, x, y, th)
 
#define Spur_get_pos_LC(x, y, th)   YPSpur_get_pos(CS_LC, x, y, th)
 
#define Spur_get_vel(v, w)   YPSpur_get_vel(v, w)
 
#define Spur_init()   YPSpur_init()
 
#define Spur_init_socket(ip, port)   YPSpur_init_socket(ip, port)
 
#define Spur_initex(msq)   YPSpur_initex(msq)
 
#define Spur_isfreeze()   YPSpur_isfreeze()
 
#define Spur_line_BL(x, y, th)   YPSpur_line(CS_BL, x, y, th)
 
#define Spur_line_BS(x, y, th)   YPSpur_line(CS_BS, x, y, th)
 
#define Spur_line_FS(x, y, th)   YPSpur_line(CS_FS, x, y, th)
 
#define Spur_line_GL(x, y, th)   YPSpur_line(CS_GL, x, y, th)
 
#define Spur_line_LC(x, y, th)   YPSpur_line(CS_LC, x, y, th)
 
#define Spur_near_ang_BL(th, d)   YPSpur_near_ang(CS_BL, th, d)
 
#define Spur_near_ang_BS(th, d)   YPSpur_near_ang(CS_BS, th, d)
 
#define Spur_near_ang_GL(th, d)   YPSpur_near_ang(CS_GL, th, d)
 
#define Spur_near_ang_LC(th, d)   YPSpur_near_ang(CS_LC, th, d)
 
#define Spur_near_pos_BL(x, y, r)   YPSpur_near_pos(CS_BL, x, y, r)
 
#define Spur_near_pos_BS(x, y, r)   YPSpur_near_pos(CS_BS, x, y, r)
 
#define Spur_near_pos_GL(x, y, r)   YPSpur_near_pos(CS_GL, x, y, r)
 
#define Spur_near_pos_LC(x, y, r)   YPSpur_near_pos(CS_LC, x, y, r)
 
#define Spur_orient_BL(th)   YPSpur_orient(CS_BL, th)
 
#define Spur_orient_BS(th)   YPSpur_orient(CS_BS, th)
 
#define Spur_orient_FS(th)   YPSpur_orient(CS_FS, th)
 
#define Spur_orient_GL(th)   YPSpur_orient(CS_GL, th)
 
#define Spur_orient_LC(th)   YPSpur_orient(CS_LC, th)
 
#define Spur_over_line_BL(x, y, th)   YPSpur_over_line(CS_BL, x, y, th)
 
#define Spur_over_line_BS(x, y, th)   YPSpur_over_line(CS_BS, x, y, th)
 
#define Spur_over_line_GL(x, y, th)   YPSpur_over_line(CS_GL, x, y, th)
 
#define Spur_over_line_LC(x, y, th)   YPSpur_over_line(CS_LC, x, y, th)
 
#define Spur_set_accel(v)   YPSpur_set_accel(v)
 
#define Spur_set_angaccel(w)   YPSpur_set_angaccel(w)
 
#define Spur_set_angvel(w)   YPSpur_set_angvel(w)
 
#define Spur_set_pos_BL(x, y, th)   YPSpur_set_pos(CS_BL, x, y, th)
 
#define Spur_set_pos_GL(x, y, th)   YPSpur_set_pos(CS_GL, x, y, th)
 
#define Spur_set_pos_LC(x, y, th)   YPSpur_set_pos(CS_LC, x, y, th)
 
#define Spur_set_vel(v)   YPSpur_set_vel(v)
 
#define Spur_spin_BL(th)   YPSpur_spin(CS_BL, th)
 
#define Spur_spin_BS(th)   YPSpur_spin(CS_BS, th)
 
#define Spur_spin_FS(th)   YPSpur_spin(CS_FS, th)
 
#define Spur_spin_GL(th)   YPSpur_spin(CS_GL, th)
 
#define Spur_spin_LC(th)   YPSpur_spin(CS_LC, th)
 
#define Spur_stop()   YPSpur_stop()
 
#define Spur_stop_line_BL(x, y, th)   YPSpur_stop_line(CS_BL, x, y, th)
 
#define Spur_stop_line_BS(x, y, th)   YPSpur_stop_line(CS_BS, x, y, th)
 
#define Spur_stop_line_FS(x, y, th)   YPSpur_stop_line(CS_FS, x, y, th)
 
#define Spur_stop_line_GL(x, y, th)   YPSpur_stop_line(CS_GL, x, y, th)
 
#define Spur_stop_line_LC(x, y, th)   YPSpur_stop_line(CS_LC, x, y, th)
 
#define Spur_tilt_BL(d, t)   YPSpur_tilt(CS_BL, d, t)
 
#define Spur_tilt_BS(d, t)   YPSpur_tilt(CS_BS, d, t)
 
#define Spur_tilt_FS(d, t)   YPSpur_tilt(CS_FS, d, t)
 
#define Spur_tilt_GL(d, t)   YPSpur_tilt(CS_GL, d, t)
 
#define Spur_tilt_LC(d, t)   YPSpur_tilt(CS_LC, d, t)
 
#define Spur_unfreeze()   YPSpur_unfreeze()
 
#define Spur_vel(v, w)   YPSpur_vel(v, w)
 
#define YPSPUR_GET_DEVICE_ERROR_STATE_SUPPORT   1
 
#define YPSPUR_JOINT_ANG_VEL_SUPPORT   1
 
#define YPSPUR_JOINT_SUPPORT   1
 

Functions

int YP_get_ad_value (int num)
 
double YP_get_device_error_state (int id, int *err)
 
int YP_get_error_state (void)
 
double YP_get_joint_ang (int id, double *a)
 
double YP_get_joint_torque (int id, double *t)
 
double YP_get_joint_vel (int id, double *v)
 
double YP_get_joint_vref (int id, double *v)
 
int YP_get_parameter (int param_id, double *value)
 
int YP_get_parameter_array (int param_id, double *value)
 
double YP_get_vref (double *vref, double *wref)
 
double YP_get_wheel_ang (double *theta_r, double *theta_l)
 
double YP_get_wheel_torque (double *torque_r, double *torque_l)
 
double YP_get_wheel_vel (double *wr, double *wl)
 
double YP_get_wheel_vref (double *wrref, double *wlref)
 
int YP_joint_ang (int id, double a)
 
int YP_joint_ang_vel (int id, double a, double v)
 
int YP_joint_torque (int id, double t)
 
int YP_joint_vel (int id, double v)
 
int YP_openfree (void)
 
int YP_set_control_state (int control_id, int state)
 
int YP_set_io_data (unsigned char data)
 
int YP_set_io_dir (unsigned char dir)
 
int YP_set_joint_accel (int id, double a)
 
int YP_set_joint_vel (int id, double v)
 
int YP_set_parameter (int param_id, double value)
 
int YP_set_parameter_array (int param_id, double *value)
 
int YP_set_wheel_accel (double r, double l)
 
int YP_set_wheel_vel (double r, double l)
 
int YP_wheel_ang (double r, double l)
 
int YP_wheel_torque (double r, double l)
 
int YP_wheel_vel (double r, double l)
 
int YPSpur_adjust_pos (int cs, double x, double y, double theta)
 
int YPSpur_circle (int cs, double x, double y, double r)
 
int YPSpur_free (void)
 
int YPSpur_freeze (void)
 
double YPSpur_get_force (double *trans, double *angular)
 
double YPSpur_get_pos (int cs, double *x, double *y, double *theta)
 
double YPSpur_get_vel (double *v, double *w)
 
int YPSpur_init (void)
 
int YPSpur_init_socket (char *ip, int port)
 
int YPSpur_initex (int msq_key)
 
int YPSpur_isfreeze (void)
 
int YPSpur_line (int cs, double x, double y, double theta)
 
int YPSpur_near_ang (int cs, double th, double d)
 
int YPSpur_near_pos (int cs, double x, double y, double r)
 
int YPSpur_orient (int cs, double theta)
 
int YPSpur_over_line (int cs, double x, double y, double theta)
 
int YPSpur_set_accel (double v)
 
int YPSpur_set_angaccel (double w)
 
int YPSpur_set_angvel (double w)
 
int YPSpur_set_pos (int cs, double x, double y, double theta)
 
int YPSpur_set_vel (double v)
 
int YPSpur_spin (int cs, double theta)
 
int YPSpur_stop (void)
 
int YPSpur_stop_line (int cs, double x, double y, double theta)
 
int YPSpur_tilt (int cs, double dir, double tilt)
 
int YPSpur_unfreeze (void)
 
int YPSpur_vel (double v, double w)
 

Macro Definition Documentation

#define Spur_adjust_pos_BL (   x,
  y,
  th 
)    YPSpur_adjust_pos(CS_BL, x, y, th)

Definition at line 84 of file ypspur.h.

#define Spur_adjust_pos_BS (   x,
  y,
  th 
)    YPSpur_adjust_pos(CS_BS, x, y, th)

Definition at line 83 of file ypspur.h.

#define Spur_adjust_pos_FS (   x,
  y,
  th 
)    YPSpur_adjust_pos(CS_FS, x, y, th)

Definition at line 82 of file ypspur.h.

#define Spur_adjust_pos_GL (   x,
  y,
  th 
)    YPSpur_adjust_pos(CS_GL, x, y, th)

Definition at line 80 of file ypspur.h.

#define Spur_adjust_pos_LC (   x,
  y,
  th 
)    YPSpur_adjust_pos(CS_LC, x, y, th)

Definition at line 81 of file ypspur.h.

#define Spur_circle_BL (   x,
  y,
 
)    YPSpur_circle(CS_BL, x, y, d)

Definition at line 57 of file ypspur.h.

#define Spur_circle_BS (   x,
  y,
 
)    YPSpur_circle(CS_BS, x, y, d)

Definition at line 56 of file ypspur.h.

#define Spur_circle_FS (   x,
  y,
 
)    YPSpur_circle(CS_FS, x, y, d)

Definition at line 55 of file ypspur.h.

#define Spur_circle_GL (   x,
  y,
 
)    YPSpur_circle(CS_GL, x, y, d)

Definition at line 53 of file ypspur.h.

#define Spur_circle_LC (   x,
  y,
 
)    YPSpur_circle(CS_LC, x, y, d)

Definition at line 54 of file ypspur.h.

#define Spur_free ( )    YPSpur_free()

Definition at line 35 of file ypspur.h.

#define Spur_freeze ( )    YPSpur_freeze()

Definition at line 37 of file ypspur.h.

#define Spur_get_force (   trans,
  angular 
)    YPSpur_get_force(trans, angular)

Definition at line 92 of file ypspur.h.

#define Spur_get_pos_BL (   x,
  y,
  th 
)    YPSpur_get_pos(CS_BL, x, y, th)

Definition at line 89 of file ypspur.h.

#define Spur_get_pos_BS (   x,
  y,
  th 
)    YPSpur_get_pos(CS_BS, x, y, th)

Definition at line 88 of file ypspur.h.

#define Spur_get_pos_GL (   x,
  y,
  th 
)    YPSpur_get_pos(CS_GL, x, y, th)

Definition at line 86 of file ypspur.h.

#define Spur_get_pos_LC (   x,
  y,
  th 
)    YPSpur_get_pos(CS_LC, x, y, th)

Definition at line 87 of file ypspur.h.

#define Spur_get_vel (   v,
 
)    YPSpur_get_vel(v, w)

Definition at line 91 of file ypspur.h.

#define Spur_init ( )    YPSpur_init()

Definition at line 31 of file ypspur.h.

#define Spur_init_socket (   ip,
  port 
)    YPSpur_init_socket(ip, port)

Definition at line 33 of file ypspur.h.

#define Spur_initex (   msq)    YPSpur_initex(msq)

Definition at line 32 of file ypspur.h.

#define Spur_isfreeze ( )    YPSpur_isfreeze()

Definition at line 38 of file ypspur.h.

#define Spur_line_BL (   x,
  y,
  th 
)    YPSpur_line(CS_BL, x, y, th)

Definition at line 45 of file ypspur.h.

#define Spur_line_BS (   x,
  y,
  th 
)    YPSpur_line(CS_BS, x, y, th)

Definition at line 44 of file ypspur.h.

#define Spur_line_FS (   x,
  y,
  th 
)    YPSpur_line(CS_FS, x, y, th)

Definition at line 43 of file ypspur.h.

#define Spur_line_GL (   x,
  y,
  th 
)    YPSpur_line(CS_GL, x, y, th)

Definition at line 41 of file ypspur.h.

#define Spur_line_LC (   x,
  y,
  th 
)    YPSpur_line(CS_LC, x, y, th)

Definition at line 42 of file ypspur.h.

#define Spur_near_ang_BL (   th,
 
)    YPSpur_near_ang(CS_BL, th, d)

Definition at line 102 of file ypspur.h.

#define Spur_near_ang_BS (   th,
 
)    YPSpur_near_ang(CS_BS, th, d)

Definition at line 101 of file ypspur.h.

#define Spur_near_ang_GL (   th,
 
)    YPSpur_near_ang(CS_GL, th, d)

Definition at line 99 of file ypspur.h.

#define Spur_near_ang_LC (   th,
 
)    YPSpur_near_ang(CS_LC, th, d)

Definition at line 100 of file ypspur.h.

#define Spur_near_pos_BL (   x,
  y,
 
)    YPSpur_near_pos(CS_BL, x, y, r)

Definition at line 97 of file ypspur.h.

#define Spur_near_pos_BS (   x,
  y,
 
)    YPSpur_near_pos(CS_BS, x, y, r)

Definition at line 96 of file ypspur.h.

#define Spur_near_pos_GL (   x,
  y,
 
)    YPSpur_near_pos(CS_GL, x, y, r)

Definition at line 94 of file ypspur.h.

#define Spur_near_pos_LC (   x,
  y,
 
)    YPSpur_near_pos(CS_LC, x, y, r)

Definition at line 95 of file ypspur.h.

#define Spur_orient_BL (   th)    YPSpur_orient(CS_BL, th)

Definition at line 69 of file ypspur.h.

#define Spur_orient_BS (   th)    YPSpur_orient(CS_BS, th)

Definition at line 68 of file ypspur.h.

#define Spur_orient_FS (   th)    YPSpur_orient(CS_FS, th)

Definition at line 67 of file ypspur.h.

#define Spur_orient_GL (   th)    YPSpur_orient(CS_GL, th)

Definition at line 65 of file ypspur.h.

#define Spur_orient_LC (   th)    YPSpur_orient(CS_LC, th)

Definition at line 66 of file ypspur.h.

#define Spur_over_line_BL (   x,
  y,
  th 
)    YPSpur_over_line(CS_BL, x, y, th)

Definition at line 107 of file ypspur.h.

#define Spur_over_line_BS (   x,
  y,
  th 
)    YPSpur_over_line(CS_BS, x, y, th)

Definition at line 106 of file ypspur.h.

#define Spur_over_line_GL (   x,
  y,
  th 
)    YPSpur_over_line(CS_GL, x, y, th)

Definition at line 104 of file ypspur.h.

#define Spur_over_line_LC (   x,
  y,
  th 
)    YPSpur_over_line(CS_LC, x, y, th)

Definition at line 105 of file ypspur.h.

#define Spur_set_accel (   v)    YPSpur_set_accel(v)

Definition at line 77 of file ypspur.h.

#define Spur_set_angaccel (   w)    YPSpur_set_angaccel(w)

Definition at line 78 of file ypspur.h.

#define Spur_set_angvel (   w)    YPSpur_set_angvel(w)

Definition at line 76 of file ypspur.h.

#define Spur_set_pos_BL (   x,
  y,
  th 
)    YPSpur_set_pos(CS_BL, x, y, th)

Definition at line 73 of file ypspur.h.

#define Spur_set_pos_GL (   x,
  y,
  th 
)    YPSpur_set_pos(CS_GL, x, y, th)

Definition at line 71 of file ypspur.h.

#define Spur_set_pos_LC (   x,
  y,
  th 
)    YPSpur_set_pos(CS_LC, x, y, th)

Definition at line 72 of file ypspur.h.

#define Spur_set_vel (   v)    YPSpur_set_vel(v)

Definition at line 75 of file ypspur.h.

#define Spur_spin_BL (   th)    YPSpur_spin(CS_BL, th)

Definition at line 63 of file ypspur.h.

#define Spur_spin_BS (   th)    YPSpur_spin(CS_BS, th)

Definition at line 62 of file ypspur.h.

#define Spur_spin_FS (   th)    YPSpur_spin(CS_FS, th)

Definition at line 61 of file ypspur.h.

#define Spur_spin_GL (   th)    YPSpur_spin(CS_GL, th)

Definition at line 59 of file ypspur.h.

#define Spur_spin_LC (   th)    YPSpur_spin(CS_LC, th)

Definition at line 60 of file ypspur.h.

#define Spur_stop ( )    YPSpur_stop()

Definition at line 34 of file ypspur.h.

#define Spur_stop_line_BL (   x,
  y,
  th 
)    YPSpur_stop_line(CS_BL, x, y, th)

Definition at line 51 of file ypspur.h.

#define Spur_stop_line_BS (   x,
  y,
  th 
)    YPSpur_stop_line(CS_BS, x, y, th)

Definition at line 50 of file ypspur.h.

#define Spur_stop_line_FS (   x,
  y,
  th 
)    YPSpur_stop_line(CS_FS, x, y, th)

Definition at line 49 of file ypspur.h.

#define Spur_stop_line_GL (   x,
  y,
  th 
)    YPSpur_stop_line(CS_GL, x, y, th)

Definition at line 47 of file ypspur.h.

#define Spur_stop_line_LC (   x,
  y,
  th 
)    YPSpur_stop_line(CS_LC, x, y, th)

Definition at line 48 of file ypspur.h.

#define Spur_tilt_BL (   d,
 
)    YPSpur_tilt(CS_BL, d, t)

Definition at line 115 of file ypspur.h.

#define Spur_tilt_BS (   d,
 
)    YPSpur_tilt(CS_BS, d, t)

Definition at line 114 of file ypspur.h.

#define Spur_tilt_FS (   d,
 
)    YPSpur_tilt(CS_FS, d, t)

Definition at line 113 of file ypspur.h.

#define Spur_tilt_GL (   d,
 
)    YPSpur_tilt(CS_GL, d, t)

Definition at line 111 of file ypspur.h.

#define Spur_tilt_LC (   d,
 
)    YPSpur_tilt(CS_LC, d, t)

Definition at line 112 of file ypspur.h.

#define Spur_unfreeze ( )    YPSpur_unfreeze()

Definition at line 39 of file ypspur.h.

#define Spur_vel (   v,
 
)    YPSpur_vel(v, w)

Definition at line 109 of file ypspur.h.

#define YPSPUR_GET_DEVICE_ERROR_STATE_SUPPORT   1

Definition at line 200 of file ypspur.h.

#define YPSPUR_JOINT_ANG_VEL_SUPPORT   1

Definition at line 199 of file ypspur.h.

#define YPSPUR_JOINT_SUPPORT   1

Definition at line 198 of file ypspur.h.

Function Documentation

int YP_get_ad_value ( int  num)

Definition at line 283 of file libypspur.c.

double YP_get_device_error_state ( int  id,
int *  err 
)

Definition at line 50 of file libypspur.c.

int YP_get_error_state ( void  )

Definition at line 45 of file libypspur.c.

double YP_get_joint_ang ( int  id,
double *  a 
)

Definition at line 364 of file libypspur.c.

double YP_get_joint_torque ( int  id,
double *  t 
)

Definition at line 369 of file libypspur.c.

double YP_get_joint_vel ( int  id,
double *  v 
)

Definition at line 354 of file libypspur.c.

double YP_get_joint_vref ( int  id,
double *  v 
)

Definition at line 359 of file libypspur.c.

int YP_get_parameter ( int  param_id,
double *  value 
)

Definition at line 241 of file libypspur.c.

int YP_get_parameter_array ( int  param_id,
double *  value 
)

Definition at line 247 of file libypspur.c.

double YP_get_vref ( double *  vref,
double *  wref 
)

Definition at line 181 of file libypspur.c.

double YP_get_wheel_ang ( double *  theta_r,
double *  theta_l 
)

Definition at line 199 of file libypspur.c.

double YP_get_wheel_torque ( double *  torque_r,
double *  torque_l 
)

Definition at line 205 of file libypspur.c.

double YP_get_wheel_vel ( double *  wr,
double *  wl 
)

Definition at line 193 of file libypspur.c.

double YP_get_wheel_vref ( double *  wrref,
double *  wlref 
)

Definition at line 187 of file libypspur.c.

int YP_joint_ang ( int  id,
double  a 
)

Definition at line 334 of file libypspur.c.

int YP_joint_ang_vel ( int  id,
double  a,
double  v 
)

Definition at line 339 of file libypspur.c.

int YP_joint_torque ( int  id,
double  t 
)

Definition at line 324 of file libypspur.c.

int YP_joint_vel ( int  id,
double  v 
)

Definition at line 329 of file libypspur.c.

int YP_openfree ( void  )

Definition at line 127 of file libypspur.c.

int YP_set_control_state ( int  control_id,
int  state 
)

Definition at line 253 of file libypspur.c.

int YP_set_io_data ( unsigned char  data)

Definition at line 293 of file libypspur.c.

int YP_set_io_dir ( unsigned char  dir)

Definition at line 288 of file libypspur.c.

int YP_set_joint_accel ( int  id,
double  a 
)

Definition at line 344 of file libypspur.c.

int YP_set_joint_vel ( int  id,
double  v 
)

Definition at line 349 of file libypspur.c.

int YP_set_parameter ( int  param_id,
double  value 
)

Definition at line 229 of file libypspur.c.

int YP_set_parameter_array ( int  param_id,
double *  value 
)

Definition at line 235 of file libypspur.c.

int YP_set_wheel_accel ( double  r,
double  l 
)

Definition at line 314 of file libypspur.c.

int YP_set_wheel_vel ( double  r,
double  l 
)

Definition at line 309 of file libypspur.c.

int YP_wheel_ang ( double  r,
double  l 
)

Definition at line 319 of file libypspur.c.

int YP_wheel_torque ( double  r,
double  l 
)

Definition at line 304 of file libypspur.c.

int YP_wheel_vel ( double  r,
double  l 
)

Definition at line 299 of file libypspur.c.

int YPSpur_adjust_pos ( int  cs,
double  x,
double  y,
double  theta 
)

Definition at line 139 of file libypspur.c.

int YPSpur_circle ( int  cs,
double  x,
double  y,
double  r 
)

Definition at line 85 of file libypspur.c.

int YPSpur_free ( void  )

Definition at line 121 of file libypspur.c.

int YPSpur_freeze ( void  )

Definition at line 109 of file libypspur.c.

double YPSpur_get_force ( double *  trans,
double *  angular 
)

Definition at line 211 of file libypspur.c.

double YPSpur_get_pos ( int  cs,
double *  x,
double *  y,
double *  theta 
)

getter

Definition at line 169 of file libypspur.c.

double YPSpur_get_vel ( double *  v,
double *  w 
)

Definition at line 175 of file libypspur.c.

int YPSpur_init ( void  )

init

Definition at line 67 of file libypspur.c.

int YPSpur_init_socket ( char *  ip,
int  port 
)

Definition at line 61 of file libypspur.c.

int YPSpur_initex ( int  msq_key)

Definition at line 56 of file libypspur.c.

int YPSpur_isfreeze ( void  )

freeze

Definition at line 217 of file libypspur.c.

int YPSpur_line ( int  cs,
double  x,
double  y,
double  theta 
)

spur

Definition at line 73 of file libypspur.c.

int YPSpur_near_ang ( int  cs,
double  th,
double  d 
)

Definition at line 271 of file libypspur.c.

int YPSpur_near_pos ( int  cs,
double  x,
double  y,
double  r 
)

check position

Definition at line 265 of file libypspur.c.

int YPSpur_orient ( int  cs,
double  theta 
)

Definition at line 97 of file libypspur.c.

int YPSpur_over_line ( int  cs,
double  x,
double  y,
double  theta 
)

Definition at line 277 of file libypspur.c.

int YPSpur_set_accel ( double  v)

Definition at line 157 of file libypspur.c.

int YPSpur_set_angaccel ( double  w)

Definition at line 163 of file libypspur.c.

int YPSpur_set_angvel ( double  w)

Definition at line 151 of file libypspur.c.

int YPSpur_set_pos ( int  cs,
double  x,
double  y,
double  theta 
)

setter

Definition at line 133 of file libypspur.c.

int YPSpur_set_vel ( double  v)

Definition at line 145 of file libypspur.c.

int YPSpur_spin ( int  cs,
double  theta 
)

Definition at line 91 of file libypspur.c.

int YPSpur_stop ( void  )

motor servo

Definition at line 103 of file libypspur.c.

int YPSpur_stop_line ( int  cs,
double  x,
double  y,
double  theta 
)

Definition at line 79 of file libypspur.c.

int YPSpur_tilt ( int  cs,
double  dir,
double  tilt 
)

tilt

Definition at line 259 of file libypspur.c.

int YPSpur_unfreeze ( void  )

Definition at line 115 of file libypspur.c.

int YPSpur_vel ( double  v,
double  w 
)

direct

Definition at line 223 of file libypspur.c.



yp-spur
Author(s):
autogenerated on Sat May 11 2019 02:08:24