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.
Node/Observer/DistanceFrame.h@0:99928431bb44, 2015-07-07 (annotated)
- Committer:
- millanea
- Date:
- Tue Jul 07 09:36:12 2015 +0000
- Revision:
- 0:99928431bb44
First commit. Committing the entire project such that it can be published.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
millanea | 0:99928431bb44 | 1 | |
millanea | 0:99928431bb44 | 2 | #ifndef DISTANCEFRAME_H_ |
millanea | 0:99928431bb44 | 3 | #define DISTANCEFRAME_H_ |
millanea | 0:99928431bb44 | 4 | |
millanea | 0:99928431bb44 | 5 | |
millanea | 0:99928431bb44 | 6 | struct __attribute__((packed, aligned(1))) DistancesFrame { |
millanea | 0:99928431bb44 | 7 | uint8_t source; |
millanea | 0:99928431bb44 | 8 | uint8_t destination; |
millanea | 0:99928431bb44 | 9 | uint8_t type; |
millanea | 0:99928431bb44 | 10 | float dist[4]; |
millanea | 0:99928431bb44 | 11 | }; |
millanea | 0:99928431bb44 | 12 | |
millanea | 0:99928431bb44 | 13 | |
millanea | 0:99928431bb44 | 14 | /* |
millanea | 0:99928431bb44 | 15 | struct __attribute__((packed, aligned(1))) DistanceFrame { |
millanea | 0:99928431bb44 | 16 | uint8_t source ; |
millanea | 0:99928431bb44 | 17 | uint8_t destination ; |
millanea | 0:99928431bb44 | 18 | uint8_t type ; |
millanea | 0:99928431bb44 | 19 | float dist ; |
millanea | 0:99928431bb44 | 20 | }; |
millanea | 0:99928431bb44 | 21 | */ |
millanea | 0:99928431bb44 | 22 | |
millanea | 0:99928431bb44 | 23 | #endif /* DISTANCEFRAME_H_ */ |