OpenMoko NewRotate 0.5.0 ‘Lazy Edition’ is out!


Hi,

I’ve just release a new version of omnewrotate (OpenPGP signature), the ‘Lazy Edition’ because it uses so much less CPU than any version I did before. Oh, I forgot to mention it in the release commit, but at least with FSO M4 I’m getting a very stable rotation BUT if the screen looks garbled, please wait a few seconds until the graphic user interface adjusts to the screen changes. I don’t think I can do much about that…

From the ChangeLog:

2008-11-19 - 0.5.0 - Lazy edition
        * uses a second thread for reading the accellerometer packets
        * drops Fabian's changes (not that they weren't good, just not
          needed any more)
        * adds flags (look at display_help() or ./rotate -h)
        * drops packets with 0 value coordinates (I got bogus packets
          like that so I decided to drop them, if you feel you get good
          packets with 0 value, you can use '-0' as an argument to take
          them in account).
        * top -d 1 -p PID shows 0.0% CPU usage (of omnewrotate) even
          during rotation
        * seems to waste a little too much memory (some stuff could be
          done with one number and bitwise operations instead of several
          numbers, I wonder how much that will improve and if it's worth
          the effort...)
        * only output outside of debug mode are real errors

, , ,

  1. #1 by GarthPS on 20 de Novembro de 2008 - 16:07

    Hi!
    It works perfectly on my freerunner witj shr! and with -0 too:
    thanks for the good job :p
    cu

  2. #2 by Rui Seabra on 20 de Novembro de 2008 - 19:09

    Glad you enjoy it even more than I do! :)

    In FSO the redraws are taking a bit long and it doesn’t look as nice :(

  3. #3 by zophon on 21 de Novembro de 2008 - 5:26

    Nice improvements!
    Thanks for your work.

  4. #4 by GarthPS on 21 de Novembro de 2008 - 10:51

    Just an add-on, the -0 option is not as perfect as i said.. :)
    It is more reactive but it make some mistakes when it faces the ground.
    wanted to give a better feed back :)

  5. #5 by Rui Seabra on 21 de Novembro de 2008 - 12:01

    Just the opposite, it’s working as designed. It seems some driver version don’g give quite so stable packets from the accelerometers, at least I’ve notived many bogus packets or packets that just don’t come in the necessary order.

    -0 is only so that if you believe you get a legitimate 0 value, then you can skip the workaround that way.

  6. #6 by tef on 22 de Novembro de 2008 - 20:14

    Hello,
    Great job, work fine with SHR
    Thanks!

  •  

    Novembro 2008
    S T Q Q S S D
    « Out   Dez »
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
  • Currently on Identi.ca...

    • @webmink way better than La Roue D'Or. Keep that in mind when you next come to Lisbon and give me a heads up! :) 2 hrs ago
    • Today I learnt where to take for dinner friends who enjoy a divine meal. Oh, why do words lack a good description? while(1){divine+=divine;} 2 hrs ago
    • Não, não queremos que a Net seja como a Rádio e a TV. A Net é bidireccional, somos prosumidores! http://tr.im/RK9n 8 hrs ago
    • More updates...