epuckCamera.hpp File Reference
Header file where are the EpuckCamera class, and the exception classes camera_version_error, window_out_of_range and window_length_error. More...
Include dependency graph for epuckCamera.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
class | EpuckCamera |
Class for to get images from e-puck camera. More... | |
class | EpuckCamera::camera_version_error |
class | EpuckCamera::window_out_of_range |
class | EpuckCamera::window_length_error |
Detailed Description
Header file where are the EpuckCamera class, and the exception classes camera_version_error, window_out_of_range and window_length_error.
static bool MatchMessage(player_msghdr_t *hdr, int type, int subtype, player_devaddr_t addr)
Helper for message processing.
Definition: message.h:159
double ReadTupleLength(int section, const char *name, int index, double value)
Read a length from a tuple (includes units conversion)
Definition: scan.h:39
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
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.
uint32_t robot
The "robot" or device collection in which the device resides.
Definition: player.h:151
Available interfaces are stored in an array of these, defined in interface_util.c.
Definition: interface_util.h:72
#define PLAYER_MSGTYPE_RESP_ACK
A positive response message.
Definition: player.h:112
Definition: scan.h:45
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
bool ReadBool(int section, const char *name, bool value)
Read a boolean value (one of: yes, no, true, false, 1, 0)
#define PLAYER_MSGTYPE_RESP_NACK
A negative response message.
Definition: player.h:125
int ReadDeviceAddr(player_devaddr_t *addr, int section, const char *name, int code, int index, const char *key)
Read a device id.
int GetTupleCount(int section, const char *name)
Get the number of values in a tuple.
#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
player_devaddr_t addr
Device to which this message pertains.
Definition: player.h:164
uint16_t interf
The interface provided by the device; must be one of PLAYER_*_CODE.
Definition: player.h:153
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:76