temperature bug

  • yclee126
    31st Jan 2015 Member 0 Permalink

     http://youtu.be/OJNQMWsjaTM

    As you can see in this video, the decimal fraction numbers of temperature are change when restart powder toy.

    This problem is an obstacle when making thermometer..

    Edited 5 times by yclee126. Last: 31st Jan 2015
  • jacob1
    31st Jan 2015 Developer 0 Permalink
    Is there any reason you need your thermometer to be more accurate than 1 degree? It works how it does right now for size efficiency in saves (usually people don't require temperatures that accurate).

    TPT only saves temperature to one degree offsets. It only uses 1 or 2 bytes to do this (one byte when around room temperature, two for hot / cold things). Saving the full floating point value would take 4 bytes I think? (it really depends on how accurate you want it to be ...). That's a lot of extra bytes just to save temperature more exact when most people don't need it. Also it would mean changing the save format (which is running out of room to save new things ...)
  • yclee126
    31st Jan 2015 Member 0 Permalink

    @jacob1 (View Post)

     No, it is not. my thermometer will be sense 10 degree unit. But there is a problem with temperature sensing method of TSNS.

    If you want to detect 22 degree to the TSNS, you must set the TSNS to less than 22 degree, like 21.99 degree

    Because of this, I hope to be save until temperature of the point.

    Or hope the temperature sensing method of TSNS is change..

    Edited once by yclee126. Last: 31st Jan 2015
  • jacob1
    31st Jan 2015 Developer 0 Permalink
    Well it really shouldn't be a problem to set it to 21.99 degrees :P. I don't want to change the save format just to make it slightly more exact ...
  • yclee126
    1st Feb 2015 Member 0 Permalink

    Do good anyway it more accurate...
    My hope was too big :(

  • tmo97
    1st Feb 2015 Banned 0 Permalink
    This post is hidden because the user is banned