Code petit robot

Dependencies:   X_NUCLEO_COMMON X_NUCLEO_IHM01A1 mbed

Embed: (wiki syntax)

« Back to documentation index

Ranging calibration functions

Ranging calibration functions

Ranging calibration functions. More...

Functions

int8_t GetOffsetCalibrationData ()
 Get part to part calibration offset.
void SetOffsetCalibrationData (int8_t offset)
 Set or over-write part to part calibration offset.
int SetXTalkCompensationRate (FixPoint97_t Rate)
 Set Cross talk compensation rate.

Detailed Description

Ranging calibration functions.


Function Documentation

int8_t GetOffsetCalibrationData (  ) [inherited]

Get part to part calibration offset.

Function Description
Should only be used after a successful call to VL6180x_InitData to backup device nvm value
Returns:
part to part calibration offset from device

Definition at line 793 of file vl6180x_class.h.

void SetOffsetCalibrationData ( int8_t  offset ) [inherited]

Set or over-write part to part calibration offset.

See also:
VL6180x_InitData(), VL6180x_GetOffsetCalibrationData()
Parameters:
offsetOffset

Definition at line 803 of file vl6180x_class.h.

int SetXTalkCompensationRate ( FixPoint97_t  Rate ) [inherited]

Set Cross talk compensation rate.

Function Description
It programs register SYSRANGE_CROSSTALK_COMPENSATION_RATE
Parameters:
RateCompensation rate (9.7 fix point) see datasheet for details
Returns:
0 on success

Definition at line 817 of file vl6180x_class.h.