|
anyKode Marilou
|
QueryDeviceDistance searches and return a distance device from the list of the PHX's devices.
DeviceDistance * QueryDeviceDistance(xkode::lib::String Name);
|
Parameters |
Description |
|
xkode::lib::String Name |
[in] Relative name of the device distances: Ex: ray0/distance |
Pointer to the instance of the device of required distance. The function returns NULL if the device were not found.
//Visual .net 2005 Managed C++ syntax
//...
Moda::DeviceDistance ^pDistance=robot->QueryDeviceDistance("ray0/r");
float Measure=pDistance->GetMeasure();
//...|
Documentation v4.7 (17/05/2011), Copyright (c) 2011 anyKode. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|