You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#include "rgooseNode2D.h"
#define LOG( X ) argusNetNode::m_pLog->Log( "2DNODE", this, X )
#ifdef DEBUG
#define LOG_ERROR( X ) {\
char _tBfrErrMSG2w34[256];\ sprintf( _tBfrErrMSG2w34, "In file %s[%d] in func:%s %s",__FILE__, __LINE__, __func__, X );\ argusNetNode::m_pLog->Log( "2DNODE", this, _LOG_ERROR, _tBfrErrMSG2w34 );\ }#else
#define LOG_ERROR( X ) argusNetNode::m_pLog->Log( "2DNODE", this, _LOG_ERROR, X );
#endif
ARGUS_2DSensor::ARGUS_2DSensor( uint32_t id ):argusNetNode( id ){ DBC_LRF_DATA *tDATA = m_pDBC->getLRFData( m_sNodeData.aux_id ); if( tDATA != NULL ) { memcpy( &m_sLRF_DATA, tDATA, sizeof(DBC_LRF_DATA)); } else { memset( &m_sLRF_DATA, 0, sizeof(DBC_LRF_DATA)); };};
ARGUS_2DSensor::~ARGUS_2DSensor(){};
bool ARGUS_2DSensor::startService() { return true;};
bool ARGUS_2DSensor::stopService() { return true;};
bool validate(){ return true;};
|