-
Hi strongnag! I've been using your bbl2kml converter for a bunch of RSSI testing and the values color code exactly as expected. However, I'm having a hard time understanding the coloring for efficiency. If I am looking at this section as an example (with The first green point after the red is 55.7mah/km the red one just South of it is 54.3mah.km. Here are all the efficiencies of the green point to through all the red points and the first two semi-green ones and two greenyellow:
The average efficiency is 77.2mah/km so I don't think the range is being scaled down too much to make them just go full red or green. The efficiency numbers also don't seem to be wrong either. I've checked the calculation and it seems right to me but maybe there's something I am missing about how the points are colored or something about how go works. EDIT: Wait a second, are the Qval comparisons swapped? Like should the code be:
It would also be nice to know wh/km instead of mah/km considering this is a 2S1P 18560 pack so my mah/km are going to be like 30% higher at the end of the pack compared to the beginning due to the giant voltage difference. I can provide the bbl file to you directly if needed. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Thanks Capt. I'll have a look at this, the BBL would be appreciated as it'll save me scrapping through my contributed stash for good examples. And yes, it does appear if the end points are swapped. RSSI was so much easier for my simple mind. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the log; indeed the endpoints were swapped. I'm looking at wh/km just now.
|
Beta Was this translation helpful? Give feedback.
-
OK, so there is now a new option:
and if one always wants wh, set it in the config file, the command line will override for exceptional use. It would be possible to have both in the KMZ,though it appears big enough already. The current code in the
I'll remove the debug log prior to release, but if want to look at it, either pull and |
Beta Was this translation helpful? Give feedback.
-
Bryan, Thanks for testing. Aside: I first tried Go when it came out in 2009; even submitted some patches to the then broken stdlib; got fed up with the ever changing beta APIs. Moved on. Came back to it recently. Cross-compile for a zillion platforms and it'll just work. Static binaries so no external dependencies. Love it. -jonathan |
Beta Was this translation helpful? Give feedback.
OK, so there is now a new option:
and if one always wants wh, set it in the config file, the command line will override for exceptional use. It would be possible to have both in the KMZ,though it appears big enough already.
The current code in the
development
branch generates a log to STDERR if the environment variableDEBUG_EFFIC
is defined (to anything), thusly:I'll remove the debug log prior to release, but if want to look at it, either pull and
go build
development (or tell me for which OS you'd like a binary).Examples attached.…