anyKode Marilou
|
QueryDeviceDistance searches and return a distance device from the list of the PHX's devices.
DeviceDistance * QueryDeviceDistance(const xkode::lib::String& Name);
Parameters |
Description |
const 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 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
What do you think about this topic? Send feedback!
|