PlayerCc::SonarProxy Class Reference
[Proxies]
#include <playerc++.h>
Inherits PlayerCc::ClientProxy.
Detailed Description
TheSonarProxy
class is used to control a sonar device.
The most recent sonar range measuremts can be read from the range attribute, or using the the [] operator.
Public Member Functions | |
SonarProxy (PlayerClient *aPc, uint aIndex=0) | |
constructor | |
~SonarProxy () | |
destructor | |
uint | GetCount () const |
return the sensor count | |
double | GetScan (uint aIndex) const |
return a particular scan value | |
double | operator[] (uint aIndex) const |
This operator provides an alternate way of access the scan data. | |
uint | GetPoseCount () const |
Number of valid sonar poses. | |
player_pose_t | GetPose (uint aIndex) const |
Sonar poses (m,m,radians). | |
void | RequestGeom () |
Request the sonar geometry. |
Member Function Documentation
|
This operator provides an alternate way of access the scan data. For example, SonarProxy[0] == SonarProxy.GetRange(0) |
The documentation for this class was generated from the following file: