diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-08-30 02:57:38 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@bitmath.org> | 2010-08-30 02:57:38 +0200 |
| commit | 84366d8e709861e497179ac8ae2126b25d37d5a4 (patch) | |
| tree | 2ed9c0d54fa6d2a78ee434806914d178e0ac6f72 /test | |
| parent | f38cecf915dc5001f7f8a1bd6a3ae6914b973f94 (diff) | |
Make orientation computation more robust
The MT protocol defines the angle to be between -Pi/2 and Pi/2,
and expects the defined range to be symmetric around zero.
Make the angle computation more robust against varying definitions
in the kernel drivers.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
