[PD] reading suggestions for wii/sensor data conversion

2008-04-02 Thread Luigi Rensinghoff

Hi List

I am a bit stuck with my ongoing experiments.

What i am trying to do is to send acceleration (xyz or pry) data from  
the wii/osculator to pd/pmpd to have it visualized

with some masses generated with pmpd.

I would liek to simply generate some force in the x or -x dirction to  
move a mass.


The data i get from the wii is i guess already accelleration and  
not absolute position, since i would liek to avoid using the ir- 
sensor bar.


I am missing a mathematical trick there, any suggestions or hints for  
further reading. I was working with the mapping-abstractions, which  
are

- as it seems - for any type of conversion.

Thans very much

Luigi





___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] reading suggestions for wii/sensor data conversion

2008-04-02 Thread Claude Heiland-Allen
Luigi Rensinghoff wrote:
 I would liek to simply generate some force in the x or -x dirction to 
 move a mass.
 
 The data i get from the wii is i guess already accelleration and not 
 absolute position, since i would liek to avoid using the ir-sensor bar.

One of Isaac Newton's laws of motion [1]

F = m a

force = mass * acceleration

where force and acceleration are vectors

I might be misunderstanding what you need, though.


Claude

[1] http://en.wikipedia.org/wiki/Newton%27s_laws_of_motion

-- 
http://claudiusmaximus.goto10.org

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] reading suggestions for wii/sensor data conversion

2008-04-02 Thread Andrew Turley
From what I understand about pmpd, it looks like you can send an force
message to a mass object. As Claude says, F=m*a, so you can calculate
the force to send to the object based on the object's mass and the
acceleration data coming from the Wiimote.

You will probably have to scale the signals coming from the Wiimote to
use in your application. For example, if the acceleration on one axis
is 542, you will have to decide what you want that to mean in your
model.

Also remember that gravity causes acceleration, so even if you aren't
moving the Wiimote you will still detect accelertion. You may want to
try to remove that from your calculations.

I'm not sure if any of this is helping. I've been playing around with
accelerometers a little bit lately, so I might be able to help you,
but I'm still not sure I fully understand what you're trying to do and
where you're running into trouble.

andy

On Wed, Apr 2, 2008 at 3:45 AM, Claude Heiland-Allen
[EMAIL PROTECTED] wrote:
 Luigi Rensinghoff wrote:
   I would liek to simply generate some force in the x or -x dirction to
   move a mass.
  
   The data i get from the wii is i guess already accelleration and not
   absolute position, since i would liek to avoid using the ir-sensor bar.

  One of Isaac Newton's laws of motion [1]

  F = m a

  force = mass * acceleration

  where force and acceleration are vectors

  I might be misunderstanding what you need, though.


  Claude

  [1] http://en.wikipedia.org/wiki/Newton%27s_laws_of_motion

  --
  http://claudiusmaximus.goto10.org

  ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] reading suggestions for wii/sensor data conversion

2008-04-02 Thread Luigi Rensinghoff
Hi List

I am a bit stuck with my ongoing experiments.

What i am trying to do is to send acceleration (xyz or pry) data from  
the wii/osculator to pd/pmpd to have it visualized
with some masses generated with pmpd.

I would liek to simply generate some force in the x or -x dirction to  
move a mass.

The data i get from the wii is i guess already accelleration and  
not absolute position, since i would liek to avoid using the ir- 
sensor bar.

I am missing a mathematical trick there, any suggestions or hints for  
further reading. I was working with the mapping-abstractions, which  
are
- as it seems - for any type of conversion.

Thans very much

Luigi

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list