[PD] gyro sensors to absolute rotation WAS: Re: gimbal lock solution?

Roman Haefeli reduzent at gmail.com
Sun Feb 10 13:54:47 CET 2013


On Son, 2013-02-10 at 10:16 +0100, Cyrille Henry wrote:

> > You mean you add each increment (gyro measurement) to the rotation
> > separately, then get the orientation with gem_list info, add the next
> > increment to the orientation, get orientation again, add increment etc?
> > Can you cast that into a little Gem example patch, if it is not too much
> > trouble?
> 
> yes.
> see attachment.

Hey Cyrille, just before I read your mail I figured it out myself. The
trick (as also shown in your patch) is to use one [rotateXYZ] for adding
the increments and another one for setting the current orientation
received from [gemlist_info].
You really triggered an 'aha' kind of moment in my head. Thank you for
that.

Roman





More information about the Pd-list mailing list