casainho said:
(With assist level at 0 so motor will not run), maybe you can setup a curve that will output a very different value on left, like lower weight value of < 10 kgs for left pedal on all ADC values and the regular values on the right pedal - this way I think you can easily validate. Then do the inverse, change the curve for the right pedal and regular values on the left pedal.
I did a 4 tests and I am a bit confused with the results. Either I do not understand how it works or I have run into a corner case that is not covered in the logic.
I increased the value for the calibration point at 0 weight first for the right and then for the left pedal. My expectation was that I will get 0 for both Weight with offset and Weight w/o offset. I also decided to test with calibration enabled and calibration disabled, as still I was not sure what is the idea behind the enable and disable option.
1. Test
- calibration enabled, the calibration value for 0 for the right pedal was increased from 140 to 180;
- expected result - for the right pedal at calibration: weight with offset = 0 and weight w/o offset = 0;
- achieved result: left pedal: as expected;
right pedal horizontal: ADC torque sensor = 140; weight with offset = 31; weight w/o offset = 0;
right pedal rotated 30 degrees down from horizontal:: ADC torque sensor = 142; weight with offset = 33; weight w/o offset =3;
2. Test
- calibration disabled, the calibration value for 0 for the right pedal was increased from 140 to 180;
- expected result - for the right pedal at calibration point: weight with offset = 0 and weight w/o offset = 0;
- achieved result: left pedal: as expected;
right pedal horizontal: ADC torque sensor = 140; weight with offset = 32; weight w/o offset = 32;
right pedal rotated 30 degrees down from horizontal:: ADC torque sensor = 142; weight with offset = 33; weight w/o offset =33;
3. Test
- calibration enabled, the calibration value for 0 for the left pedal was increased from 135 to 180;
- expected result - for the left left at calibration: weight with offset = 0 and weight w/o offset = 0;
- achieved result: right pedal: as expected;
left pedal horizontal: ADC torque sensor = 135; weight with offset = 0; weight w/o offset =0
left pedal rotated 30 degrees down from horizontal:: ADC torque sensor = 139; weight with offset = 56; weight w/o offset =2
4. Test
- calibration disabled, the calibration value for 0 for the left pedal was increased from 135 to 180;
- expected result - for the left left at calibration: weight with offset = 0 and weight w/o offset = 0;
- achieved result: right pedal: as expected;
left pedal horizontal: ADC torque sensor = 135; weight with offset = 0; weight w/o offset =0
left pedal rotated 30 degrees down from horizontal: ADC torque sensor = 139; weight with offset = 56; weight w/o offset =56
Observations:
- There is no consistency in the behaviour for the left at right pedal while being horizontal at the calibration point at their side. Right pedal weight reading is very 32- to 33 while for the left we have 0;
- Calibration enabling - changes the value of weight w/o offset closer to the expected;
- very small changes of the ACD torque sensors values causes big jumps in the calculated weight;
After I completed the tests I saw that you ask to lower the values and not to increase them. Should I repeat the test with lower values? If yes how much lower?