Tobi's ubw test branch
Dependencies: mavlink_bridge mbed
Fork of AIT_UWB_Range by
MMRanging/MMRanging.h@27:71178fdb78e1, 2014-11-28 (annotated)
- Committer:
- manumaet
- Date:
- Fri Nov 28 07:44:36 2014 +0000
- Revision:
- 27:71178fdb78e1
- Child:
- 28:a830131560e8
MMRanging intriduced, before any switchover
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
manumaet | 27:71178fdb78e1 | 1 | // by Matthias Grob & Manuel Stalder - ETH Zürich - 2015 |
manumaet | 27:71178fdb78e1 | 2 | |
manumaet | 27:71178fdb78e1 | 3 | #ifndef MMRANGING_H |
manumaet | 27:71178fdb78e1 | 4 | #define MMRANGING_H |
manumaet | 27:71178fdb78e1 | 5 | |
manumaet | 27:71178fdb78e1 | 6 | #include "mbed.h" |
manumaet | 27:71178fdb78e1 | 7 | #include "DW1000.h" |
manumaet | 27:71178fdb78e1 | 8 | |
manumaet | 27:71178fdb78e1 | 9 | #define MMRANGING_TIMEUNIT 1/(128*499.2) // conversion between LSB of TX and RX timestamps and microseconds |
manumaet | 27:71178fdb78e1 | 10 | |
manumaet | 27:71178fdb78e1 | 11 | class MMRanging { |
manumaet | 27:71178fdb78e1 | 12 | public: |
manumaet | 27:71178fdb78e1 | 13 | MMRanging(DW1000* dw); |
manumaet | 27:71178fdb78e1 | 14 | private: |
manumaet | 27:71178fdb78e1 | 15 | DW1000* dw; |
manumaet | 27:71178fdb78e1 | 16 | }; |
manumaet | 27:71178fdb78e1 | 17 | |
manumaet | 27:71178fdb78e1 | 18 | #endif |