![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Bluetooth communication for flocking.
Fork of BeautifulMemeProject by
Diff: vector.h
- Revision:
- 12:daa53285b6e4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vector.h Tue Oct 27 13:03:10 2015 +0000 @@ -0,0 +1,14 @@ +#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 \ No newline at end of file