Kilolib
Kilobot Library
distance_measurement_t Struct Reference

Distance measurement. More...

#include <kilolib.h>

Data Fields

int16_t low_gain
 Low gain 10-bit signal-strength measurement.
 
int16_t high_gain
 High gain 10-bit signal-strength measurement.
 

Detailed Description

Distance measurement.

Every time a message is received by a kilobot, it collects two 10 bit measurements that represent the signal strength of the received message after going through an operational amplifier. This data structure stores these two measurements.

Using these two measurements it is possible to estimate the distance of the sender.


The documentation for this struct was generated from the following file: