Jeti Fuel Sensor released
- TeroS
- Offline Autor
- Platinum Mitglied
- RC-Thoughts
- Beiträge: 527
- Dank erhalten: 370
Flotschi81 wrote: Kann es sein dass sich die Prozentanzeige aufhängt!? Bei mir funktioniert sie bis 50% und dann steht sie bis zum Schluss wo sie dann auf 0% runterspringt!
Hat dieses Phänomen sonst auch noch jemand beobachtet oder habe ich in den Einstellungen wo einen Touch drinnen?!??
Lg
Floh
The % is calculated with "100 - (100 / (tankSize / consumption))", for example with 2 liter tanks and 1.5 liter already used it would be 100 - (100 / (2000 / 1500)) = 25. This 25 is then 25% left in the tank.
How does your consumption in ml look at the same time?
von TeroS
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Gilles
- Offline
- Elite Mitglied
- Beiträge: 214
- Dank erhalten: 117
Tero
The same behaviour as flotschi81 mentioned i noticed also. The flow sensor is a 50-3000 ml/min.
First the remaining fuel steps normal down, at about 75% it starts to count sporadic. At 50% it stops to count. If the fuel consumption is more than the
Adjustet one (for ex. Adjustet 1000ml tank and the fuel consumption steps to 1050ml) the % remaining fuel jumps to 101%
Rgds
Christian
The same behaviour as flotschi81 mentioned i noticed also. The flow sensor is a 50-3000 ml/min.
First the remaining fuel steps normal down, at about 75% it starts to count sporadic. At 50% it stops to count. If the fuel consumption is more than the
Adjustet one (for ex. Adjustet 1000ml tank and the fuel consumption steps to 1050ml) the % remaining fuel jumps to 101%
Rgds
Christian
Last Edit:01 Sep. 2017 14:06
von Gilles
Letzte Änderung: 01 Sep. 2017 14:06 von Gilles.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- TeroS
- Offline Autor
- Platinum Mitglied
- RC-Thoughts
- Beiträge: 527
- Dank erhalten: 370
Thanks for the info guys!
The "101%" is a easy fix, the sporadic I need to look into. I did actually get the same error when I just tested with my test-sensor so there is something. I'll look into it right away, has to be just a simple calculation-formula error in the percentage-value.
EDIT: Error is found. It's about int vs float vs division, a small reminder how beginner i am in programming
The "101%" is a easy fix, the sporadic I need to look into. I did actually get the same error when I just tested with my test-sensor so there is something. I'll look into it right away, has to be just a simple calculation-formula error in the percentage-value.
EDIT: Error is found. It's about int vs float vs division, a small reminder how beginner i am in programming
Last Edit:01 Sep. 2017 14:46
von TeroS
Letzte Änderung: 01 Sep. 2017 14:46 von TeroS.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- TeroS
- Offline Autor
- Platinum Mitglied
- RC-Thoughts
- Beiträge: 527
- Dank erhalten: 370
Version 1.2 is out, both issues are fixed and tested to be ok.
www.rc-thoughts.com/2017/09/jeti-fuel-sensor-updated/
www.rc-thoughts.com/2017/09/jeti-fuel-sensor-updated/
von TeroS
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Gilles
- Offline
- Elite Mitglied
- Beiträge: 214
- Dank erhalten: 117
Thank you Tero for the quick solution.I will test again..
Rgds
Christian
Rgds
Christian
von Gilles
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- TeroS
- Offline Autor
- Platinum Mitglied
- RC-Thoughts
- Beiträge: 527
- Dank erhalten: 370
Now the Github is also updated, sorry
von TeroS
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Ladezeit der Seite: 1.029 Sekunden