Tobi's ubw test branch
Dependencies: mavlink_bridge mbed
Fork of AIT_UWB_Range by
Diff: MMRanging/MMRanging.h
- Revision:
- 40:5ce51b7e3118
- Parent:
- 39:bb57aa77b015
- Child:
- 41:0a3bb028d4ba
diff -r bb57aa77b015 -r 5ce51b7e3118 MMRanging/MMRanging.h --- a/MMRanging/MMRanging.h Sun Feb 22 17:40:38 2015 +0000 +++ b/MMRanging/MMRanging.h Fri Feb 27 11:47:51 2015 +0000 @@ -11,6 +11,8 @@ #define MMRANGING_2POWER40 1099511627776 // decimal value of 2^40 to correct timeroverflow between timestamps +//#define EVENTS // to see debug output of occuring interrupt callbacks + class MMRanging { public: MMRanging(DW1000& DW); @@ -36,6 +38,7 @@ uint64_t rangingtimingsSender[10][2]; uint64_t rangingtimingsReceiver[10][2]; uint64_t tofs[10]; // Array containing time of flights for each node (index is address of node) + bool acknowledgement[10]; // draft for first test bool receiver;