![Yoctopuce Yocto-GPS Скачать руководство пользователя страница 394](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557394.webp)
20. High-level API Reference
YAltitude
altitude
→
calibrateFromPoints()
Configures error correction data points, in particular to compensate for a possible perturbation of the
measure caused by an enclosure.
js
function calibrateFromPoints(
rawValues
,
refValues
)
nodejs
function calibrateFromPoints(
rawValues
,
refValues
)
cpp
int calibrateFromPoints( vector<double>
rawValues
,
vector<double>
refValues
)
m
-(int) calibrateFromPoints : (NSMutableArray*)
rawValues
: (NSMutableArray*)
refValues
pas
function calibrateFromPoints(
rawValues
: TDoubleArray,
refValues
: TDoubleArray): LongInt
vb
procedure calibrateFromPoints( )
cs
int calibrateFromPoints( List<double>
rawValues
,
List<double>
refValues
)
java
int calibrateFromPoints( ArrayList<Double>
rawValues
,
ArrayList<Double>
refValues
)
uwp
async Task<int> calibrateFromPoints( List<double>
rawValues
,
List<double>
refValues
)
py
def calibrateFromPoints(
rawValues
,
refValues
)
php
function calibrateFromPoints(
$rawValues
,
$refValues
)
es
function calibrateFromPoints(
rawValues
,
refValues
)
cmd
YAltitude
target
calibrateFromPoints
rawValues
refValues
It is possible to configure up to five correction points. Correction points must be provided in ascending
order, and be in the range of the sensor. The device will automatically perform a linear interpolation of
the error correction between specified points. Remember to call the
saveToFlash()
method of the
module if the modification must be kept.
For more information on advanced capabilities to refine the calibration of sensors, please contact
[email protected].
Parameters :
rawValues
array of floating point numbers, corresponding to the raw values returned by the sensor for the
correction points.
refValues
array of floating point numbers, corresponding to the corrected values for the correction points.
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
388
www.yoctopuce.com
Содержание Yocto-GPS
Страница 1: ...Yocto GPS User s guide...
Страница 2: ......
Страница 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Страница 10: ...4 www yoctopuce com...
Страница 14: ...8 www yoctopuce com...
Страница 18: ...12 www yoctopuce com...
Страница 22: ...16 www yoctopuce com...
Страница 38: ...32 www yoctopuce com...
Страница 42: ...36 www yoctopuce com...
Страница 54: ...48 www yoctopuce com...
Страница 72: ...66 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 122: ...116 www yoctopuce com...
Страница 132: ...126 www yoctopuce com...
Страница 159: ...20 High level API Reference On failure throws an exception or returns a negative error code www yoctopuce com 153...
Страница 564: ...22 Characteristics 558 www yoctopuce com...
Страница 565: ......
Страница 566: ......