CONVERT1.H 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
  12. */
  13. /* Convert.h */
  14. /* Converts raw tracker data to orientation information */
  15. /* Created 11/17/94 */
  16. /* John Schultz */
  17. #ifndef VIO_CONVERT_H
  18. #define VIO_CONVERT_H
  19. void rawToEulerInt(long rawMagneticX,long rawMagneticY,long rawMagneticZ,
  20. long rawGravimetricX,long rawGravimetricY,
  21. long * eulerYaw,long * eulerPitch,long * eulerRoll);
  22. #endif
  23. /* convert.h */
  24. /* tcomp.h */
  25. /* Tilt sensor non-linear compensation */
  26. /* Created 1/2/95 */
  27. /* John Schultz */
  28. #ifndef TCOMP_H
  29. #define TCOMP_H
  30. float compAngle(float degrees);
  31. #endif
  32. /* tcomp.h */