58 void odometry(OdometryPtr xp,
short *cnt,
short *pwm,
double dt,
double time);
60 OdometryPtr xp, ErrorStatePtr err,
int param_id,
int id,
int value,
double receive_time);
62 int odm_read(OdometryPtr odm,
double *
v,
double *
w);
struct _odometry Odometry
int enc_init[YP_PARAM_MAX_MOTOR_NUM]
int odm_read(OdometryPtr odm, double *v, double *w)
void cstrans_xy(YPSpur_cs src, YPSpur_cs dest, double *x, double *y, double *theta)
void odometry(OdometryPtr xp, short *cnt, short *pwm, double dt, double time)
void process_int(OdometryPtr xp, ErrorStatePtr err, int param_id, int id, int value, double receive_time)
short enc[YP_PARAM_MAX_MOTOR_NUM]
double wang[YP_PARAM_MAX_MOTOR_NUM]
struct _odometry * OdometryPtr
void odm_logging(OdometryPtr, double, double)
int odometry_receive_loop(void)
double wtorque[YP_PARAM_MAX_MOTOR_NUM]
CSptr get_cs_pointer(YPSpur_cs cs)
void cstrans_odometry(YPSpur_cs cs, OdometryPtr dst_odm)
ErrorStatePtr get_error_state_ptr()
#define YP_PARAM_MAX_MOTOR_NUM
double wvel[YP_PARAM_MAX_MOTOR_NUM]
void set_cs(YPSpur_cs cs, double x, double y, double theta)
void cs_odometry(YPSpur_cs cs, OdometryPtr dst_odm)
OdometryPtr get_odometry_ptr()
int state(YPSpur_state id)
void init_coordinate_systems(void)
struct _error_state ErrorState
double time_estimate(int readnum)
時刻の推定 (n回目の計測結果の時刻を計算する)
struct _error_state * ErrorStatePtr