Homero Silva / Mbed 2 deprecated PRGP_Pi_Swarm_ground_search_algorithm

Dependencies:   mbed

Fork of Pi_Swarm_Blank by James Hilder

PiSwarmControllerFunctions.h

Committer:
re633
Date:
2015-07-22
Revision:
9:ef0907fda2f1

File content as of revision 9:ef0907fda2f1:

/*******************************************************************************************
 *
 * University of York PRGP 2015
 *
 * Robert Evans, Dept. Electronics & Computer Science, University of York
 * 
 * Version 1  17 July 2015
 *
 * Ground controller version 1 for Pi Swarm as part of PRGP
 *
 ******************************************************************************************/
#include "main.h"
#ifndef PISWARMCONTROLLERFUNCTIONS_H
#define PISWARMCONTROLLERFUNCTIONS_H

void changeState(uint8_t newState);
float randToLevy(uint16_t randomNumber);
uint32_t levyDistToTime(float distance);
void turnDegrees(int16_t degrees);
void calculateNewHeading();
int16_t mod16 (int16_t a,int16_t b);
int8_t mod8 (int8_t a,int8_t b);
#endif //PISWARMCONTROLLERFUNCTIONS_H