Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Gyro.h@8:1ca49cb18290, 2018-11-26 (annotated)
- Committer:
- takeru0x1103
- Date:
- Mon Nov 26 13:58:16 2018 +0000
- Revision:
- 8:1ca49cb18290
- Child:
- 9:557628b373ea
?????????????12bit?
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
takeru0x1103 | 8:1ca49cb18290 | 1 | #ifndef GYRO_H |
takeru0x1103 | 8:1ca49cb18290 | 2 | #define GYRO_H |
takeru0x1103 | 8:1ca49cb18290 | 3 | |
takeru0x1103 | 8:1ca49cb18290 | 4 | class Gyro { |
takeru0x1103 | 8:1ca49cb18290 | 5 | /* |
takeru0x1103 | 8:1ca49cb18290 | 6 | * Varialbles |
takeru0x1103 | 8:1ca49cb18290 | 7 | */ |
takeru0x1103 | 8:1ca49cb18290 | 8 | |
takeru0x1103 | 8:1ca49cb18290 | 9 | public: |
takeru0x1103 | 8:1ca49cb18290 | 10 | /* |
takeru0x1103 | 8:1ca49cb18290 | 11 | * Constructor |
takeru0x1103 | 8:1ca49cb18290 | 12 | */ |
takeru0x1103 | 8:1ca49cb18290 | 13 | Gyro(); |
takeru0x1103 | 8:1ca49cb18290 | 14 | |
takeru0x1103 | 8:1ca49cb18290 | 15 | /* |
takeru0x1103 | 8:1ca49cb18290 | 16 | * Destructor. |
takeru0x1103 | 8:1ca49cb18290 | 17 | */ |
takeru0x1103 | 8:1ca49cb18290 | 18 | virtual ~Gyro(); |
takeru0x1103 | 8:1ca49cb18290 | 19 | |
takeru0x1103 | 8:1ca49cb18290 | 20 | float GetAngularRate();// |
takeru0x1103 | 8:1ca49cb18290 | 21 | float GetAccel(); |
takeru0x1103 | 8:1ca49cb18290 | 22 | |
takeru0x1103 | 8:1ca49cb18290 | 23 | float GetAngle(); |
takeru0x1103 | 8:1ca49cb18290 | 24 | void SetYawRef(); |
takeru0x1103 | 8:1ca49cb18290 | 25 | |
takeru0x1103 | 8:1ca49cb18290 | 26 | }; |
takeru0x1103 | 8:1ca49cb18290 | 27 | |
takeru0x1103 | 8:1ca49cb18290 | 28 | #endif /* GYRO_H */ |
takeru0x1103 | 8:1ca49cb18290 | 29 | |
takeru0x1103 | 8:1ca49cb18290 | 30 |