28 #include <sys/types.h> 33 #endif // HAVE_CONFIG_H 54 spur->
torque[id] = data[0];
123 data[0] = odometry->
wvel[id];
124 data[1] = odometry->
time;
139 data[1] = odometry->
time;
153 data[0] = odometry->
wang[id];
154 data[1] = odometry->
time;
168 data[0] = odometry->
wtorque[id];
169 data[1] = odometry->
time;
void get_joint_vel_com(int id, double *data, SpurUserParamsPtr spur)
double wheel_vel_end[YP_PARAM_MAX_MOTOR_NUM]
double wvelref[YP_PARAM_MAX_MOTOR_NUM]
void get_joint_vref_com(int id, double *data, SpurUserParamsPtr spur)
void odometry(OdometryPtr xp, short *cnt, short *pwm, double dt, double time)
void joint_vel_com(int id, double *data, SpurUserParamsPtr spur)
double torque[YP_PARAM_MAX_MOTOR_NUM]
double wheel_accel[YP_PARAM_MAX_MOTOR_NUM]
double wang[YP_PARAM_MAX_MOTOR_NUM]
MotorControlMode wheel_mode[YP_PARAM_MAX_MOTOR_NUM]
double wtorque[YP_PARAM_MAX_MOTOR_NUM]
double wheel_angle[YP_PARAM_MAX_MOTOR_NUM]
void get_joint_ang_com(int id, double *data, SpurUserParamsPtr spur)
double wheel_vel[YP_PARAM_MAX_MOTOR_NUM]
void set_joint_accel_com(int id, double *data, SpurUserParamsPtr spur)
void get_joint_torque_com(int id, double *data, SpurUserParamsPtr spur)
void joint_ang_vel_com(int id, double *data, SpurUserParamsPtr spur)
#define YP_PARAM_MAX_MOTOR_NUM
double wvel[YP_PARAM_MAX_MOTOR_NUM]
void yprintf(ParamOutputLv level, const char *format,...)
OdometryPtr get_odometry_ptr()
void joint_torque_com(int id, double *data, SpurUserParamsPtr spur)
void joint_ang_com(int id, double *data, SpurUserParamsPtr spur)
void set_joint_vel_com(int id, double *data, SpurUserParamsPtr spur)