PlayerCc::LocalizeProxy Class Reference
The LocalizeProxy
class is used to control a localize device, which can provide multiple pose hypotheses for a robot.
More...
#include <playerc++.h>
Inheritance diagram for PlayerCc::LocalizeProxy:
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 |
Detailed Description
The LocalizeProxy
class is used to control a localize device, which can provide multiple pose hypotheses for a robot.
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.
The documentation for this class was generated from the following file: