Functions |
void | apply_motor_speed (SpurUserParamsPtr spur) |
void | apply_motor_torque (SpurUserParamsPtr spur) |
double | circle_follow (OdometryPtr odm, SpurUserParamsPtr spur) |
void | control_loop (void) |
double | dist_pos (OdometryPtr odm, SpurUserParamsPtr spur) |
SpurRunMode | get_run_mode (void) |
double | gravity_compensation (OdometryPtr odm, SpurUserParamsPtr spur) |
void | init_control_thread (pthread_t *thread) |
double | line_follow (OdometryPtr odm, SpurUserParamsPtr spur) |
int | motor_control (SpurUserParamsPtr spur) |
double | orient (OdometryPtr odm, SpurUserParamsPtr spur) |
double | regurator (double d, double q, double r, double v_max, double w_max, SpurUserParamsPtr spur) |
void | robot_speed (SpurUserParamsPtr spur) |
int | robot_speed_smooth (SpurUserParamsPtr spur) |
void | run_control (Odometry odometry, SpurUserParamsPtr spur) |
void | set_run_mode (SpurRunMode mode) |
double | spin (OdometryPtr odm, SpurUserParamsPtr spur) |
int | stop_line (OdometryPtr odm, SpurUserParamsPtr spur) |
double | timeoptimal_servo (double err, double vel_max, double vel, double acc) |
double | timeoptimal_servo2 (double err, double vel_max, double vel, double acc, double vel_end) |
double | trans_q (double theta) |
void | update_ref_speed (SpurUserParamsPtr spur) |
void | wheel_angle (OdometryPtr odm, SpurUserParamsPtr spur) |
void | wheel_torque (OdometryPtr odm, SpurUserParamsPtr spur, double *torque) |
void | wheel_vel (OdometryPtr odm, SpurUserParamsPtr spur) |