lasermodel.h
Definition: mixed/mricp/include/map.h:36
static bool MatchMessage(player_msghdr_t *hdr, int type, int subtype, player_devaddr_t addr)
Helper for message processing.
Definition: message.h:159
double ReadFloat(int section, const char *name, double value)
Read a floating point (double) value.
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
Definition: lasermodel.h:30
Definition: lasertransform.h:48
double ReadAngle(int section, const char *name, double value)
Read an angle (includes unit conversion).
double ReadLength(int section, const char *name, double value)
Read a length (includes unit conversion, if any).
#define PLAYER_MSGTYPE_RESP_ACK
A positive response message.
Definition: player.h:112
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
static bool MatchDeviceAddress(player_devaddr_t addr1, player_devaddr_t addr2)
Compare two addresses.
Definition: device.h:201
int ReadDeviceAddr(player_devaddr_t *addr, int section, const char *name, int code, int index, const char *key)
Read a device id.
#define PLAYER_CAPABILITIES_REQ
Capability request message type.
Definition: player.h:397
double timestamp
Time associated with message contents (seconds since epoch)
Definition: player.h:170
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:76
Definition: laser.h:44