Stuff

Dependencies:   mbed

Fork of PsiSwarm-flockingAddedBluetooth by James Wilson

vector.h

Committer:
JamesSW
Date:
2017-03-01
Revision:
19:b5788427db67
Parent:
12:daa53285b6e4

File content as of revision 19:b5788427db67:

#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