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:
- 23:ef1be367726e
- Parent:
- 22:807d5467fbf6
- Child:
- 24:9d75ed1462d6
--- a/MainController.h Thu Jun 05 00:13:02 2014 +0000 +++ b/MainController.h Thu Jun 05 17:32:51 2014 +0000 @@ -40,7 +40,6 @@ float getAmplitude(); float getYaw(); float getPitch(); - float getTimeAdd(); float getAdj(); bool getOpMode(); //returns true when in autonomous mode @@ -86,7 +85,7 @@ Thread trackerThread; static void trackerThreadStarter(void const *p); float amp; - float ampNew; + float ampCmd; float frq; float dutyCycle; float curTime; @@ -95,13 +94,11 @@ float yaw; float pitch; float adj; - + float yawAdjVal; bool fullCycle; float volume; - float volChg; float volMax; float frqCmd; - float timeAdd; float raiser; float pitAvg; float alPi;