feature.hh
Definition: feature.hh:33
double cov[6]
The covariance matrix pose estimate (lower half, symmetric matrix) (cov(xx) in m$^2$,...
Definition: player_interfaces.h:2342
static bool MatchMessage(player_msghdr_t *hdr, int type, int subtype, player_devaddr_t addr)
Helper for message processing.
Definition: message.h:159
uint32_t pending_count
The number of pending (unprocessed observations)
Definition: player_interfaces.h:2354
player_pose2d_t mean
The mean value of the pose estimate (m, m, rad).
Definition: player_interfaces.h:2338
#define PLAYER_SIMULATION_REQ_GET_POSE2D
Request/reply subtype: set 2D pose.
Definition: player_interfaces.h:2655
virtual int MainSetup(void)
Sets up the resources needed by the driver thread.
Definition: driver.h:658
virtual void MainQuit(void)
Cleanup method for driver thread (called when main exits)
Definition: driver.h:664
player_pose2d_t mean
The best (?) pose (mm, mm, arc-seconds).
Definition: player_interfaces.h:2395
uint8_t type
Message type; must be one of PLAYER_MSGTYPE_*.
Definition: player.h:166
const char * ReadString(int section, const char *name, const char *value)
Read a string value.
Data: hypotheses (PLAYER_LOCALIZE_DATA_HYPOTHS)
Definition: player_interfaces.h:2351
uint32_t hypoths_count
The number of pose hypotheses.
Definition: player_interfaces.h:2358
Request/reply: get/set 2D pose of a named simulation object.
Definition: player_interfaces.h:2710
player_localize_hypoth_t * hypoths
The array of the hypotheses.
Definition: player_interfaces.h:2360
player_pose2d_t pose
The particle's pose (m,m,rad)
Definition: player_interfaces.h:2382
#define PLAYER_MSGTYPE_RESP_ACK
A positive response message.
Definition: player.h:112
double alpha
The weight coefficient for linear combination (alpha)
Definition: player_interfaces.h:2384
uint32_t particles_count
The number of particles included.
Definition: player_interfaces.h:2399
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
Definition: types.hh:73
Definition: scan.hh:30
double alpha
The weight coefficient for linear combination (alpha)
Definition: player_interfaces.h:2344
Definition: uloc.hh:32
Definition: feature.hh:67
#define PLAYER_LOCALIZE_DATA_HYPOTHS
Data subtype: pose hypotheses.
Definition: player_interfaces.h:2320
#define PLAYER_LOCALIZE_REQ_SET_POSE
Request/reply subtype: set pose hypothesis.
Definition: player_interfaces.h:2323
int ReadDeviceAddr(player_devaddr_t *addr, int section, const char *name, int code, int index, const char *key)
Read a device id.
player_pose2d_t pose
the desired pose in (m, m, rad)
Definition: player_interfaces.h:2717
#define PLAYER_LOCALIZE_REQ_GET_PARTICLES
Request/reply subtype: get particle set.
Definition: player_interfaces.h:2326
#define PLAYER_CAPABILITIES_REQ
Capability request message type.
Definition: player.h:397
uint32_t name_count
Length of name.
Definition: player_interfaces.h:2713
player_pose2d_t mean
The mean value of the pose estimate (m, m, rad).
Definition: player_interfaces.h:2370
double pending_time
The time stamp of the last observation processed.
Definition: player_interfaces.h:2356
player_localize_particle_t * particles
The particles.
Definition: player_interfaces.h:2401
#define PLAYER_POSITION2D_DATA_STATE
Data: state (PLAYER_POSITION2D_DATA_STATE)
Definition: player_interfaces.h:568
Request/reply: Set the robot pose estimate.
Definition: player_interfaces.h:2367
double timestamp
Time associated with message contents (seconds since epoch)
Definition: player.h:170
double variance
The variance of the best (?) pose (mm^2)
Definition: player_interfaces.h:2397
player_pose2d_t pos
position [m,m,rad] (x, y, yaw)
Definition: player_interfaces.h:609
char * name
the identifier of the object we want to locate
Definition: player_interfaces.h:2715
#define PLAYER_SIMULATION_REQ_SET_POSE2D
Request/reply subtype: get 2D pose.
Definition: player_interfaces.h:2658
Definition: transf.hh:36
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:76