My modifications/additions to the code
Dependencies: ADXL345 ADXL345_I2C IMUfilter ITG3200 Servo fishgait mbed-rtos mbed pixy_cam
Fork of robotic_fish_ver_4_8 by
Diff: MainController.h
- Revision:
- 15:dc5753a5b83e
- Parent:
- 13:5ed8fd870723
- Child:
- 17:6970aef8154b
diff -r a5389e26a63b -r dc5753a5b83e MainController.h --- a/MainController.h Tue Feb 04 14:23:56 2014 +0000 +++ b/MainController.h Wed Feb 12 23:57:01 2014 +0000 @@ -47,6 +47,7 @@ float calculateVolume(); float calculateRudder(); float signum(float input); + float saturate(float input); private: PwmIn ch3;