Test the set param mode
Diff: PositionSensor/PositionSensor.h
- Revision:
- 34:51647c6c500d
- Parent:
- 22:60276ba87ac6
- Child:
- 35:69b24894c11d
--- a/PositionSensor/PositionSensor.h Wed Aug 30 18:10:27 2017 +0000 +++ b/PositionSensor/PositionSensor.h Wed Nov 08 15:18:18 2017 +0000 @@ -53,7 +53,7 @@ virtual int GetCPR(void); virtual void WriteLUT(int new_lut[128]); private: - float position, ElecPosition, ElecOffset, MechPosition, MechOffset, modPosition, oldModPosition, oldVel, velVec[16], MechVelocity, ElecVelocity; + float position, ElecPosition, ElecOffset, MechPosition, MechOffset, modPosition, oldModPosition, oldVel, velVec[16], MechVelocity, ElecVelocity, ElecVelocityFilt; int raw, _CPR, rotations, old_counts, _ppairs; SPI *spi; DigitalOut *cs;