32 #include "amcl_sensor.h"
33 #include "pf/pf_pdf.h"
54 public:
virtual int Load(
ConfigFile* cf,
int section);
57 public:
virtual int Unload(
void);
60 public:
virtual int Setup(
void);
63 public:
virtual int Shutdown(
void);
66 public:
virtual int ProcessMessage(
QueuePointer &resp_queue,
94 private:
virtual void SetupGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig);
97 private:
virtual void ShutdownGUI(rtk_canvas_t *canvas, rtk_fig_t *robot_fig);
Definition: amcl_sensor.h:44
Definition: pf_vector.h:42
static bool MatchMessage(player_msghdr_t *hdr, int type, int subtype, player_devaddr_t addr)
Helper for message processing.
Definition: message.h:159
Definition: amcl_sensor.h:106
Generic message header.
Definition: player.h:162
int Subscribe(QueuePointer &sub_queue)
Subscribe the given queue to this device.
Encapsulates a device (i.e., a driver bound to an interface)
Definition: device.h:75
double ReadTupleFloat(int section, const char *name, int index, double value)
Read a float (double) from a tuple field.
#define PLAYER_MSGTYPE_DATA
A data message.
Definition: player.h:95
QueuePointer InQueue
Queue for all incoming messages for this driver.
Definition: driver.h:285
Class for loading configuration file information.
Definition: configfile.h:197
A device address.
Definition: player.h:146
An autopointer for the message queue.
Definition: message.h:74
Definition: amcl_odom.h:38
#define PLAYER_ERROR(msg)
Error message macros.
Definition: error.h:81
double timestamp
Time associated with message contents (seconds since epoch)
Definition: player.h:170
Definition: pf_vector.h:49
int Unsubscribe(QueuePointer &sub_queue)
Unsubscribe the given queue from this device.
Definition: amcl_odom.h:49