Project

General

Profile

Revision 1528

Added by John Sexton over 14 years ago

Finished function which prints the BOM intensity histogram over USB. Will print nicely in both windows and linux (uses "\r\n"). Will accept an array
pointer to print values already collected, or it will recollect current values and print.

View differences:

bom.h
68 68
/** @brief Compares all the values in bom_val[] and returns the index to the highest value element. **/
69 69
int bom_get_max(void);
70 70

  
71
/** @brief Print snapshot of BOM intensity histogram over USB connection **/
72
void bom_print_usb(int*);
73

  
71 74
/** @brief Computes the weighted average of all the bom readings to estimate the position and distance of another robot. **/
72 75
int bom_get_max10(int *dist);
73 76

  

Also available in: Unified diff