Code for robot

Dependencies:   mbed

Fork of Yusheng-final_project by Britney Dorval

Committer:
britneyd
Date:
Wed Apr 26 20:58:31 2017 +0000
Revision:
11:dc410a980771
Parent:
6:ae3e6aefe908
Code for robot;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
csharer 6:ae3e6aefe908 1 //balance_bot.h
csharer 6:ae3e6aefe908 2 // This file is used to store constants and operators used by many files
csharer 6:ae3e6aefe908 3
csharer 6:ae3e6aefe908 4 #define RAD2GRAD 57.2957795
csharer 6:ae3e6aefe908 5 #define CAP(val, constraint) ((val > constraint) ? constraint : ((val<-constraint) ? -constraint : val))
csharer 6:ae3e6aefe908 6 #define MAX_CONTROL_OUTPUT 100