|
|
|
@ -26,6 +26,7 @@ |
|
|
|
#include "../../alg/lgs/detectorStructures.h" |
|
|
|
#include "../../alg/lgs/detector.h" |
|
|
|
#include "../../alg/lgs/mask.h" |
|
|
|
#include "../../data/net/netServiceEngine.h" |
|
|
|
|
|
|
|
#ifndef PRU_SLAVE |
|
|
|
#include "../../data/net/netServer.h" |
|
|
|
@ -62,7 +63,7 @@ |
|
|
|
* @author gagua |
|
|
|
*/ |
|
|
|
|
|
|
|
class LRF_Kernel: public basicThread, public basicEngine{ |
|
|
|
class LRF_Kernel: public basicThread, public networkServiceEngine{ |
|
|
|
private: |
|
|
|
basicLogCollection * m_pLog; |
|
|
|
LRF_HardwareManager * m_pHardwareManager; |
|
|
|
@ -74,7 +75,7 @@ class LRF_Kernel: public basicThread, public basicEngine{ |
|
|
|
uint32_t m_nFlipCounter; |
|
|
|
uint32_t m_nFlipSavierID; |
|
|
|
uint8_t m_bExitCause; |
|
|
|
LRF_WORK_MODE m_eWorkMode; |
|
|
|
LRF3D_WORK_MODE m_eWorkMode; |
|
|
|
LRF_TwinConnector * m_pTWIC; |
|
|
|
|
|
|
|
#ifdef PRU_SLAVE |
|
|
|
@ -122,10 +123,10 @@ class LRF_Kernel: public basicThread, public basicEngine{ |
|
|
|
|
|
|
|
/* functional API */ |
|
|
|
bool askReset( void ); |
|
|
|
LRF_WORK_MODE getMode( void ){ return m_eWorkMode; }; |
|
|
|
LRF3D_WORK_MODE getMode( void ){ return m_eWorkMode; }; |
|
|
|
bool getParameters( void ); |
|
|
|
thresholdNode * getTreshold( uint32_t &size, uint8_t kID=0 ); |
|
|
|
bool setMode( LRF_WORK_MODE nMode ); |
|
|
|
bool setMode( LRF3D_WORK_MODE nMode ); |
|
|
|
bool setOffset( uint8_t nOffset ); |
|
|
|
bool setOrder( uint8_t nOrder ); |
|
|
|
|
|
|
|
|