PlayerCc::LocalizeProxy Class Reference
[Proxies]
#include <playerc++.h>
Inheritance diagram for PlayerCc::LocalizeProxy:
Detailed Description
TheLocalizeProxy
class is used to control a localize device, which can provide multiple pose hypotheses for a robot.
Definition at line 1240 of file playerc++.h.
Public Member Functions | |
LocalizeProxy (PlayerClient *aPc, uint32_t aIndex=0) | |
constructor | |
~LocalizeProxy () | |
destructor | |
uint32_t | GetMapSizeX () const |
Map dimensions (cells). | |
uint32_t | GetMapSizeY () const |
uint32_t | GetMapTileX () const |
uint32_t | GetMapTileY () const |
double | GetMapScale () const |
Map scale (m/cell). | |
uint32_t | GetPendingCount () const |
Number of pending (unprocessed) sensor readings. | |
uint32_t | GetHypothCount () const |
Number of possible poses. | |
player_localize_hypoth_t | GetHypoth (uint32_t aIndex) const |
Array of possible poses. | |
int | GetParticles () |
Get the particle set. | |
player_pose2d_t | GetParticlePose (int index) const |
Get the Pose of a particle. | |
void | SetPose (double pose[3], double cov[3]) |
Set the current pose hypothesis (m, m, radians). | |
uint32_t | GetNumHypoths () const |
Get the number of localization hypoths. | |
uint32_t | GetNumParticles () const |
Get the number of particles (for particle filter-based localization systems). | |
Private Member Functions | |
void | Subscribe (uint32_t aIndex) |
void | Unsubscribe () |
Private Attributes | |
playerc_localize_t * | mDevice |
Member Function Documentation
uint32_t PlayerCc::LocalizeProxy::GetNumParticles | ( | ) | const [inline] |
Get the number of particles (for particle filter-based localization systems).
Returns the number of particles.
Definition at line 1304 of file playerc++.h.
References PlayerCc::ClientProxy::GetVar(), mDevice, and playerc_localize_t::num_particles.
Here is the call graph for this function:
The documentation for this class was generated from the following file: