Revision 1457
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 Computes the weighted average of all the bom readings to estimate the position and distance of another robot. **/ |
|
72 |
int bom_get_max10(int *dist); |
|
73 |
|
|
71 | 74 |
/** @brief Enables the selected bom leds on a BOM1.5 **/ |
72 | 75 |
void bom_set_leds(int bit_field); |
73 | 76 |
|
Also available in: Unified diff