[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

**To**:**tech-kern%netbsd.org@localhost****Subject**:**Re: atan2 and sqrt --> in driver****From**:**"Robert Fritzsche" <robert.fritzsche%googlemail.com@localhost>**- Date: Tue, 9 Dec 2008 18:01:52 +0100

The driver is for the wii-remote, so get 1 byte for x-, y- and z-axis. Based on this values I will calculate the pitch = atan2(y, sqrt(x^2+z^2)) and yaw = atan2(z, sqrt(x^2+y^2)) I know that I can place all these stuff in userspace, but it have place it into kernelspace, it's for studies.

**Follow-Ups**:**Re: atan2 and sqrt --> in driver***From:*Christos Zoulas

**Re: atan2 and sqrt --> in driver***From:*Joerg Sonnenberger

**Re: atan2 and sqrt --> in driver***From:*Andy Shevchenko

**References**:**atan2 and sqrt --> in driver***From:*Robert Fritzsche

**Re: atan2 and sqrt --> in driver***From:*Ignatios Souvatzis

- Prev by Date:
**Re: atan2 and sqrt --> in driver** - Next by Date:
**Re: Proposal: B_ARRIER (addresses wapbl performance?)** - Previous by Thread:
**Re: atan2 and sqrt --> in driver** - Next by Thread:
**Re: atan2 and sqrt --> in driver** - Indexes: