Port of http://dev.qu.tu-berlin.de/projects/sf-razor-9dof-ahrs to an mbed, tested with a 9DOF Sensor Stick, SEN-10724
main.cpp@0:9a72d42c0da3, 2011-12-27 (annotated)
- Committer:
- lpetre
- Date:
- Tue Dec 27 17:20:06 2011 +0000
- Revision:
- 0:9a72d42c0da3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lpetre | 0:9a72d42c0da3 | 1 | #include "Razor_AHRS.h" |
lpetre | 0:9a72d42c0da3 | 2 | |
lpetre | 0:9a72d42c0da3 | 3 | int main() |
lpetre | 0:9a72d42c0da3 | 4 | { |
lpetre | 0:9a72d42c0da3 | 5 | IMU imu; |
lpetre | 0:9a72d42c0da3 | 6 | imu.setup(); |
lpetre | 0:9a72d42c0da3 | 7 | while(1) |
lpetre | 0:9a72d42c0da3 | 8 | imu.loop(); |
lpetre | 0:9a72d42c0da3 | 9 | |
lpetre | 0:9a72d42c0da3 | 10 | return 0; |
lpetre | 0:9a72d42c0da3 | 11 | } |