![Yoctopuce Yocto-GPS Скачать руководство пользователя страница 444](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557444.webp)
20. High-level API Reference
20.7. GroundSpeed function interface
The Yoctopuce class YGroundSpeed allows you to read the ground speed from Yoctopuce
geolocalization sensors. It inherits from the YSensor class the core functions to read measurements,
register callback functions, access the autonomous datalogger.
In order to use the functions described here, you should include:
js
<script type='text/javascript' src='yocto_groundspeed.js'></script>
nodejs
var yoctolib = require('yoctolib');
var YGroundSpeed = yoctolib.YGroundSpeed;
cpp
#include "yocto_groundspeed.h"
m
#import "yocto_groundspeed.h"
pas
uses yocto_groundspeed;
vb
yocto_groundspeed.vb
cs
yocto_groundspeed.cs
java
import com.yoctopuce.YoctoAPI.YGroundSpeed;
uwp
import com.yoctopuce.YoctoAPI.YGroundSpeed;
py
from yocto_groundspeed import *
php
require_once('yocto_groundspeed.php');
es
in HTML: <script src="../../lib/yocto_groundspeed.js"></script>
in node.js: require('yoctolib-es2017/yocto_groundspeed.js');
Global functions
func
)
Retrieves a ground speed sensor for a given identifier.
yctx
,
func
)
Retrieves a ground speed sensor for a given identifier in a YAPI context.
Starts the enumeration of ground speed sensors currently accessible.
yctx
)
Starts the enumeration of ground speed sensors currently accessible.
YGroundSpeed
methods
rawValues
,
refValues
)
Configures error correction data points, in particular to compensate for a possible perturbation of the measure
caused by an enclosure.
Invalidates the cache.
Returns a short text that describes unambiguously the instance of the ground speed sensor in the form
TYPE(NAME)=SERIAL.FUNCTIONID
.
Returns the current value of the ground speed sensor (no more than 6 characters).
Returns the uncalibrated, unrounded raw value returned by the sensor, in km/h, as a floating point number.
Returns the current value of the ground speed, in km/h, as a floating point number.
Returns the error message of the latest error with the ground speed sensor.
438
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: ......