usb_packet.h
uint32_t blobs_count
The number of blobs.
Definition: player_interfaces.h:1103
Data: detected blobs (PLAYER_BLOBFINDER_DATA_BLOBS)
Definition: player_interfaces.h:1096
Definition: usb_packet.h:30
uint32_t color
A descriptive color for the blob (useful for gui's).
Definition: player_interfaces.h:1074
uint32_t right
Bounding box for the blob [pixels].
Definition: player_interfaces.h:1084
double ReadFloat(int section, const char *name, double value)
Read a floating point (double) value.
Definition: usb_packet.h:71
Definition: canio.h:45
uint32_t height
The image dimensions.
Definition: player_interfaces.h:1101
uint32_t left
Bounding box for the blob [pixels].
Definition: player_interfaces.h:1082
virtual int MainSetup(void)
Sets up the resources needed by the driver thread.
Definition: driver.h:657
virtual void MainQuit(void)
Cleanup method for driver thread (called when main exits)
Definition: driver.h:663
#define PLAYER_CAMERA_FORMAT_RGB888
Image format : 24-bit color (8 bits R, 8 bits G, 8 bits B).
Definition: player_interfaces.h:2942
uint32_t bottom
Bounding box for the blob [pixels].
Definition: player_interfaces.h:1088
#define PLAYER_BLOBFINDER_DATA_BLOBS
Structure describing a single blob.
Definition: player_interfaces.h:1055
double ReadLength(int section, const char *name, double value)
Read a length (includes unit conversion, if any).
float range
Range to the blob center [meters].
Definition: player_interfaces.h:1090
uint32_t area
The blob area [pixels].
Definition: player_interfaces.h:1076
#define PLAYER_CAMERA_DATA_STATE
Data subtype: state.
Definition: player_interfaces.h:2922
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
virtual int MainSetup()
Sets up the resources needed by the driver thread.
Definition: imagebase.cc:83
virtual void MainQuit()
Cleanup method for driver thread (called when main exits)
Definition: imagebase.cc:104
Definition: imagebase.h:61
int ReadDeviceAddr(player_devaddr_t *addr, int section, const char *name, int code, int index, const char *key)
Read a device id.
uint32_t top
Bounding box for the blob [pixels].
Definition: player_interfaces.h:1086
uint32_t width
The image dimensions.
Definition: player_interfaces.h:1099
#define PLAYER_CAMERA_COMPRESS_RAW
Compression method: raw.
Definition: player_interfaces.h:2945
#define PLAYER_CAMERA_FORMAT_MONO8
Image format : 8-bit monochrome.
Definition: player_interfaces.h:2936
player_blobfinder_blob_t * blobs
The list of blobs.
Definition: player_interfaces.h:1105
Definition: usb_packet.h:48
Definition: usb_packet.h:43
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:75