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.
B.1. Microprocessor Code 113<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 />
————–Misc.c.——————<br />
/* Standard include ----------------------------------------------------------*/<br />
#include "91x_map.h"<br />
#include "utils.h"<br />
#include "definitions.h"<br />
#include "definitionsLib.h"<br />
#include "CamInt_x24.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"<br />
#include "RGBCube.h"<br />
#include "blobsearch.h"<br />
#include "math.h"<br />
/* Include <strong>of</strong> o<strong>the</strong>r module interface headers ---------------------------------*/<br />
/* Local includes ------------------------------------------------------------*/<br />
/* Private typedef -----------------------------------------------------------*/<br />
/* Private define ------------------------------------------------------------*/<br />
/* Private macro -------------------------------------------------------------*/<br />
/* Private variables ---------------------------------------------------------*/<br />
/* Private function prototypes -----------------------------------------------*/