Submitted version of the thesis - Airlab, the Artificial Intelligence ...
Submitted version of the thesis - Airlab, the Artificial Intelligence ...
Submitted version of the thesis - Airlab, the Artificial Intelligence ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
110 Appendix B. Documentation <strong>of</strong> <strong>the</strong> programming<br />
}<br />
140.5637 }, { 0.0037, -0.9334, -0.3587,<br />
203.8752 }, { 0, 0, 0, 1.0000 } };<br />
double inv_T[4][4] = { 0, 0, 0, 0 };<br />
Matrix_Mult(T_wr, T_wc, inv_T);<br />
vectorByMatrix4x1(inv_T, Pc, result);<br />
————–Motion.h.——————<br />
/*<br />
* Motion.h<br />
*<br />
* Created on: Jan 19, 2011<br />
* Author: Administrator<br />
*/<br />
#ifndef MOTION_H_<br />
#define MOTION_H_<br />
/* Includes ------------------------------------------------------------------*/<br />
/* Exported types ------------------------------------------------------------*/<br />
/* Exported constants --------------------------------------------------------*/<br />
/* Module private variables --------------------------------------------------*/<br />
/* Exported macro ------------------------------------------------------------*/<br />
/* Private functions ---------------------------------------------------------*/<br />
/* Exported functions ------------------------------------------------------- */<br />
void Triskar(s16* destination, s8 omega, s16* vt);<br />
void Direct_Motion(s16* destination, s8 angle, s16* speed);<br />
#endif /* MOTION_H_ */<br />
————–Motion.c.——————<br />
/* Standard include ----------------------------------------------------------*/<br />
#include "91x_map.h"<br />
#include "utils.h"<br />
#include "definitions.h"<br />
#include "definitionsLib.h"<br />
#include "usb_lib.h"<br />
#include "usb_conf.h"<br />
#include "usb_prop.h"<br />
#include "usb_pwr.h"<br />
#include "usb_config.h"