Reduce sensivity to make it much more usable.

This commit is contained in:
Ben V. Brown
2017-09-27 09:52:10 +10:00
parent e351527dd2
commit 830433d854
2 changed files with 3 additions and 4 deletions

View File

@@ -3,11 +3,10 @@
This firmware is not complete, it is missing some features such as : This firmware is not complete, it is missing some features such as :
* PID needs more work (moving to fixed point) * PID needs more work (moving to fixed point)
* Doesnt have cold junction calibration
* Needs UI work * Needs UI work
* Needs some polish on information screens * Needs some polish on information screens
* Motion sensitivity needs more polish for sensitivity levels * Motion sensitivity needs more polish for sensitivity levels
* Auto tuning PID * Auto tuning PID?
While it most likely will work, It is not meant for production use just yet! While it most likely will work, It is not meant for production use just yet!

View File

@@ -722,8 +722,8 @@ void startMOVTask(void const * argument) {
int32_t avgx, avgy, avgz; int32_t avgx, avgy, avgz;
for (;;) { for (;;) {
int32_t threshold = 550 + (9 * 50); int32_t threshold = 600 + (9 * 120);
threshold -= systemSettings.sensitivity * 50; threshold -= systemSettings.sensitivity * 120;
accel.getAxisReadings(&tx, &ty, &tz); accel.getAxisReadings(&tx, &ty, &tz);
datax[currentPointer] = tx; datax[currentPointer] = tx;