#include <tracker_impl.h>
Classes | |
struct | fulcrum |
Public Member Functions | |
bool | loadCalibFile (const char *srcFileName) |
bool | loadCalibFile (const char *srcFileName) |
void | start () |
void | start () |
void | stop () |
void | stop () |
tracker_impl (trackerID t, BirdTrack_impl *b, std::string trackerName) | |
tracker_impl (trackerID t, BirdTrack_impl *b, std::string trackerName) | |
~tracker_impl () | |
~tracker_impl () | |
Private Member Functions | |
void | getPbdObject (std::string name, double *data, asr_msgs::AsrObject &object) |
void | getTransform (double *data, tf::Transform &transform) |
bool | loadCalibration (const fulcrum cal[255], unsigned int length) |
bool | loadCalibration (const fulcrum cal[255], unsigned int length) |
void | printFulcrum (fulcrum fulc) |
void | printFulcrum (fulcrum fulc) |
void | workerThread () |
this method is called by static method s_workerthread More... | |
void | workerThread () |
this method is called by static method s_workerthread More... | |
bool | writeNotification (trackerID id, double *raw, double *calibrated) |
bool | writeNotification (kogmo_rtdb_obj_info_t &dataobj_info, double *) |
Static Private Member Functions | |
static void * | s_workerThread (void *arg) |
Thread is bound to this method. More... | |
static void * | s_workerThread (void *arg) |
Thread is bound to this method. More... | |
Private Attributes | |
kogmo_rtdb_obj_e1_fobtracker_t * | dataobj_data |
kogmo_rtdb_obj_info_t | dataobj_info_data |
kogmo_rtdb_obj_info_t | dataobj_info_raw |
kogmo_rtdb_obj_e1_fobtracker_t * | dataobj_raw |
kogmo_rtdb_handle_t * | dbc |
kogmo_rtdb_connect_info_t | dbinfo |
ros::Publisher | generalPublisher |
BirdTrack_impl * | myBird |
trackerID | myID |
transformCoords * | myTransformer |
ros::NodeHandle | node |
kogmo_rtdb_objid_t | oid |
kogmo_rtdb_objid_t | pid |
unsigned int | seqId |
bool | threadRunning |
flag switching on/off thread More... | |
tf::TransformBroadcaster | transformPublisher |
pthread_t | workerThreadHandle |
Thread for delivering tracker data to nCenter. More... | |
Definition at line 51 of file include/tracker_impl.h.
tracker_impl::tracker_impl | ( | trackerID | t, |
BirdTrack_impl * | b, | ||
std::string | trackerName | ||
) |
initialize rtdb connection
tracker
thread initialize
Definition at line 42 of file kogmo_fob/trackerServer/tracker_impl.cc.
tracker_impl::~tracker_impl | ( | ) |
Definition at line 80 of file kogmo_fob/trackerServer/tracker_impl.cc.
tracker_impl::tracker_impl | ( | trackerID | t, |
BirdTrack_impl * | b, | ||
std::string | trackerName | ||
) |
tracker_impl::~tracker_impl | ( | ) |
|
private |
Definition at line 249 of file src/tracker_impl.cc.
|
private |
Definition at line 296 of file src/tracker_impl.cc.
bool tracker_impl::loadCalibFile | ( | const char * | srcFileName | ) |
Definition at line 215 of file kogmo_fob/trackerServer/tracker_impl.cc.
bool tracker_impl::loadCalibFile | ( | const char * | srcFileName | ) |
|
private |
Definition at line 287 of file kogmo_fob/trackerServer/tracker_impl.cc.
|
private |
|
private |
Definition at line 279 of file kogmo_fob/trackerServer/tracker_impl.cc.
|
private |
|
staticprivate |
Thread is bound to this method.
Definition at line 93 of file kogmo_fob/trackerServer/tracker_impl.cc.
|
staticprivate |
Thread is bound to this method.
void tracker_impl::start | ( | void | ) |
start thread
Definition at line 190 of file kogmo_fob/trackerServer/tracker_impl.cc.
void tracker_impl::start | ( | ) |
void tracker_impl::stop | ( | void | ) |
stop thread
Definition at line 205 of file kogmo_fob/trackerServer/tracker_impl.cc.
void tracker_impl::stop | ( | ) |
|
private |
this method is called by static method s_workerthread
get data from gloveDevice
get data from fob
Definition at line 126 of file kogmo_fob/trackerServer/tracker_impl.cc.
|
private |
this method is called by static method s_workerthread
|
private |
Definition at line 303 of file src/tracker_impl.cc.
|
private |
Definition at line 306 of file kogmo_fob/trackerServer/tracker_impl.cc.
|
private |
Definition at line 82 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 79 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 80 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 83 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 76 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 77 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 95 of file include/tracker_impl.h.
|
private |
Definition at line 64 of file include/tracker_impl.h.
|
private |
Definition at line 63 of file include/tracker_impl.h.
|
private |
Definition at line 65 of file include/tracker_impl.h.
|
private |
Definition at line 94 of file include/tracker_impl.h.
|
private |
Definition at line 85 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 86 of file kogmo_fob/trackerServer/tracker_impl.h.
|
private |
Definition at line 66 of file include/tracker_impl.h.
|
private |
flag switching on/off thread
Definition at line 78 of file include/tracker_impl.h.
|
private |
Definition at line 93 of file include/tracker_impl.h.
|
private |
Thread for delivering tracker data to nCenter.
Definition at line 82 of file include/tracker_impl.h.