Bluetooth communication for flocking.

Dependencies:   mbed

Fork of BeautifulMemeProject by James Hilder

vector.h

Committer:
alanmillard
Date:
2016-01-31
Revision:
27:7eb032772bc2
Parent:
12:daa53285b6e4

File content as of revision 27:7eb032772bc2:

#ifndef VECTOR_H
#define VECTOR_H

#define TO_DEG 57.2958
#define TO_RAD 0.017453

struct FloatVector{
    float angle;
    float distance;   
};

struct FloatVector addVector(struct FloatVector in_Vector, int angle, int distance);

#endif