>> We use cookies to give you a good experience when visiting bitcraze.io. By using our site, you agree to our use of cookies

---------------
| OK, got it! |
---------------

lighthouse_sweep_angle_reader


Classes

LighthouseSweepAngleAverageReader

LighthouseSweepAngleAverageReader(cf, ready_cb)

Helper class to make it easy read sweep angles for multiple base stations and average the result


Methods

def is_collecting(self)

True if data collection is in progress


def start_angle_collection(self)

Start collecting angles. The process will terminate when nr_of_samples_required have been received


def stop_angle_collection(self)

Premature stop of data collection


LighthouseSweepAngleReader

LighthouseSweepAngleReader(cf, data_recevied_cb)

Wrapper to simplify reading of lighthouse sweep angles from the locSrv stream


Class variables

ANGLE_STREAM_PARAM

NR_OF_SENSORS

Methods

def start(self)

Start reading sweep angles


def stop(self)

Stop reading sweep angles