#include "angle_distance.h"
Go to the source code of this file.
Functions | |
void | rs_get_polar_from_wheels (struct rs_polar *p_dst, struct rs_wheels *w_src) |
void | rs_get_wheels_from_polar (struct rs_wheels *w_dst, struct rs_polar *p_src) |
convert the values of wheels encoders (left, right) into (distance, angle)
Definition at line 28 of file angle_distance.c.
References rs_polar::angle, rs_polar::distance, rs_wheels::left, and rs_wheels::right.
Referenced by rs_update().
convert (distance, angle) into (left, right)
Definition at line 37 of file angle_distance.c.
References rs_polar::angle, rs_polar::distance, rs_wheels::left, and rs_wheels::right.
Referenced by rs_set_angle(), rs_set_distance(), and rs_update().