Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

VisionObjectEvent.cc File Reference

Implements VisionObjectEvent, which provides information about objects recognized in the camera image. More...

#include "VisionObjectEvent.h"
#include "EventBase.h"
#include "Shared/RobotInfo.h"
#include <sstream>
#include <libxml/tree.h>
#include <cmath>
Include dependency graph for VisionObjectEvent.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SAVE_PARAM(strname, varname, format)
 a little local macro to make saving fields easier

Detailed Description

Implements VisionObjectEvent, which provides information about objects recognized in the camera image.

Author:
alokl (Creator)
Ignacio Herrero Reder < nhr at dte uma es > (VisionObjectInfo Boundary Box - bug 74)

Definition in file VisionObjectEvent.cc.


Define Documentation

#define SAVE_PARAM ( strname,
varname,
format   ) 
Value:
{\
xmlNode* cur=xmlNewChild(node,NULL,(const xmlChar*)"param",NULL); \
if(cur==NULL) \
throw bad_format(node,"Error: VisionObjectEvent xml error on saving param"); \
xmlSetProp(cur,(const xmlChar*)"name",(const xmlChar*)strname); \
char valbuf[20]; \
snprintf(valbuf,20,format,varname); \
xmlSetProp(cur,(const xmlChar*)"value",(const xmlChar*)valbuf); }

a little local macro to make saving fields easier

Definition at line 131 of file VisionObjectEvent.cc.


Tekkotsu v5.1CVS
Generated Mon May 9 04:59:03 2016 by Doxygen 1.6.3