the fish that looks like a jet
Dependencies: ADXL345 ADXL345_I2C IMUfilter ITG3200 mbed Servo
Diff: motor_controller.h
- Revision:
- 12:7eeb29892625
- Parent:
- 11:8ec915eb70f6
diff -r 8ec915eb70f6 -r 7eeb29892625 motor_controller.h --- a/motor_controller.h Fri Jan 31 19:36:28 2014 +0000 +++ b/motor_controller.h Sat Feb 01 00:03:40 2014 +0000 @@ -12,21 +12,10 @@ PwmOut pwm; DigitalOut outA; DigitalOut outB; - //float timestamp; - -// //for driving -// float phi1, ome1,amp1; -// bool firstTime; -// -// Timer t; public: PololuMController(); PololuMController(PinName pwmport, PinName A, PinName B); - //void setspeed(float speed); //0 to 1 void setpolarspeed(float speed); //-1 to 1 - //void reverse(); //only works on non-polar speed - //float drive_sinusoidal(float currentTime, float amplitude, float frequency); - //void drive_rectangular(float currentTime, float amplitude, float frequency); }; \ No newline at end of file