Jeti Fuel Sensor released

  • TeroS
  • TeroS's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • RC-Thoughts
  • Posts: 527
  • Thank you received: 370

TPL_KUNENA_MESSAGE_REPLIED_NEW Jeti Fuel Sensor released

31 Aug 2017 12:19
#25
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?

Please Log in or Create an account to join the conversation.

  • Gilles
  • Gilles's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 220
  • Thank you received: 117

TPL_KUNENA_MESSAGE_REPLIED_NEW Jeti Fuel Sensor released

01 Sep 2017 12:03 - 01 Sep 2017 12:06
#26
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
Last edit: 01 Sep 2017 12:06 by Gilles.

Please Log in or Create an account to join the conversation.

  • TeroS
  • TeroS's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • RC-Thoughts
  • Posts: 527
  • Thank you received: 370

TPL_KUNENA_MESSAGE_REPLIED_NEW Jeti Fuel Sensor released

01 Sep 2017 12:26 - 01 Sep 2017 12:46
#27
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 :)
Last edit: 01 Sep 2017 12:46 by TeroS.

Please Log in or Create an account to join the conversation.

  • TeroS
  • TeroS's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • RC-Thoughts
  • Posts: 527
  • Thank you received: 370

TPL_KUNENA_MESSAGE_REPLIED_NEW Jeti Fuel Sensor released

01 Sep 2017 13:10
#28
Version 1.2 is out, both issues are fixed and tested to be ok.

www.rc-thoughts.com/2017/09/jeti-fuel-sensor-updated/

Please Log in or Create an account to join the conversation.

  • Gilles
  • Gilles's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 220
  • Thank you received: 117

TPL_KUNENA_MESSAGE_REPLIED_NEW Jeti Fuel Sensor released

01 Sep 2017 16:37
#29
Thank you Tero for the quick solution.I will test again..:) :)
Rgds
Christian

Please Log in or Create an account to join the conversation.

  • TeroS
  • TeroS's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • RC-Thoughts
  • Posts: 527
  • Thank you received: 370

TPL_KUNENA_MESSAGE_REPLIED_NEW Jeti Fuel Sensor released

01 Sep 2017 17:30
#30
Now the Github is also updated, sorry :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.360 seconds
Powered by Kunena Forum