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:
Collaboration diagram for PlayerCc::LocalizeProxy:

List of all members.


Detailed Description

The LocalizeProxy class is used to control a localize device, which can provide multiple pose hypotheses for a robot.

Public Member Functions

 LocalizeProxy (PlayerClient *aPc, uint32_t aIndex=0)
 Constructor.
 ~LocalizeProxy ()
 Destructor.
uint32_t GetMapSizeX () const
 Map X dimension (cells)
uint32_t GetMapSizeY () const
 Map Y dimension (cells)
uint32_t GetMapTileX () const
 Map tile X dimension (cells)
uint32_t GetMapTileY () const
 Map tile Y dimension (cells)
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[6])
 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_tmDevice

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: