PowerBook Puppet - new sms code

Since Craig and I first created the PowerBook Puppet back at the end of 2005, there’s been quite a lot going on with the Sudden Motion Sensors (SMS) on the Apple laptops - for instance the the SmackBook and the Roomba Tilt Control.

The Puppet was created in Flash and I wrote some code to let it talk to the sensor. I have just finished a second version of the code which works on all models of the Apple laptops and is much less fiddly to use - see my page where you can download it.

This is based on Daniel Shiffman‘s JNI interface to Lincoln Ramsay‘s Unimotion library.

Cheers,
Dave

Comments

  1. admin on 29 January 2007

    I must admit I was impressed whilst playing around with Processing (which gets better and better), that there’s a Sudden Motion Sensor library for this, which credits the great Dave…

    “JNI Implementation of motion by Dave Chatting”
    http://www.shiffman.net/p5/sms

    ...well done for getting the waves going!

  2. michhy on 17 February 2007

    Hello Dave
    your work is so impressive…
    I am a student in London studying interactive design.
    Just wonder if I can download the motion.tar.gz from the link u mentioned…
    becoz it is kind of error link as shown in apple server.

    Thank you very much!
    michhy

  3. dave on 18 February 2007

    Hi michhy - thanks very much.

    I’ve fixed the link now, so all should be well - let me know how you get on.

    Cheers,
    Dave

  4. michhy on 19 February 2007

    Sure Dave, thank you very much.
    SMS rocks!

  5. michhy_t on 01 March 2007

    Hello Dave, I am having a problem with your flash source.
    I followed ur instruction, I unzip both folders and put the sms.jar and libunimotion.jnlib into the motion folder already. I donno y it is still not working for motion.swf.
    please advice
    thank you very much Dave.

  6. dave on 06 March 2007

    Hi - sorry it’s take a while to respond.

    Try opening Terminal window and changing to the directory of your Motion folder - easiest way is to type “cd “ (include the space) and drag the folder onto that window.

    Then type:
    java -classpath sms.jar:Server.jar:. com.mac.dave_chatting.motion.Server ./flash/Motion.swf

    And let me know what is says in the Terminal window.

    Hope that makes sense.

    Cheers,
    Dave

Leave A Comment





Remember my personal information

Notify me of follow-up comments?