SWARM-Bot Firmware
v1.0
Mobile robot OS - Embedded C/C++
|
Header file for kimenatics.c. More...
#include <__swarm_wold__.h>
Go to the source code of this file.
Classes | |
struct | point |
struct | pos |
struct | pos_dot |
struct | _i_pos |
struct | mat2 |
struct | _omega |
struct | _theta |
Macros | |
#define | L 0.06 |
#define | r 0.02 |
#define | R_over_L 0.333 |
#define | R_over_2 0.01 |
Functions | |
struct _i_pos | _omega_to_intertial (struct _omega *input) |
struct pos_dot | _inertial_to_pos_dot (struct _i_pos *inertial, struct pos *_pos) |
uint16_t | _dead_reckon (struct pos *_pos, struct pos_dot *_pos_dot) |
struct pos | _thetaLR_to_pos (struct _theta *th) |
void | _update_thetaLR (struct _theta *input) |
void | _update_omega (struct _omega *input) |
Header file for kimenatics.c.
$RCSfile$
Definition in file __kinematics__.h.
a dead-reckoner for spatial pos estimation, returns debug info
[in] | _pos | pos |
[in] | _pos_dot | derivative of pos |
References _micros0(), pos::th, pos_dot::th_dot, pos::x, pos_dot::x_dot, pos::y, and pos_dot::y_dot.
A function to convert wheels rotation velocity to inertial velocities
[in] | input | struct of wheels velocity |
_omega |
A function to convert wheels' absolute rotation angles to pos (not proper)
[in] | th | wheels' absolute rotation |
void _update_omega | ( | struct _omega * | input | ) |
A function to update the wheels' rotation velocity or each wheel from hardware modules
[in] | input | wheel's rotational velocity |
References _omega::wl, and _omega::wr.
void _update_thetaLR | ( | struct _theta * | input | ) |
A function to update the absolute rotation angle of each wheel from hardware modules
[in] | input | wheels' absolute rotation |
References _theta::left, and _theta::right.