$search
#include <ros/ros.h>
#include <ros/package.h>
#include <tf/transform_broadcaster.h>
#include <kdl/frames.hpp>
#include "cob_people_detection/SceneDrawer.h"
#include <XnOpenNI.h>
#include <XnCodecIDs.h>
#include <XnCppWrapper.h>
Go to the source code of this file.
Defines | |
#define | CHECK_RC(nRetVal, what) |
Functions | |
int | main (int argc, char **argv) |
void | publishTransform (XnUserID const &user, XnSkeletonJoint const &joint, string const &frame_id, string const &child_frame_id) |
void | publishTransforms (const std::string &frame_id, image_transport::Publisher &pub) |
void XN_CALLBACK_TYPE | User_LostUser (xn::UserGenerator &generator, XnUserID nId, void *pCookie) |
void XN_CALLBACK_TYPE | User_NewUser (xn::UserGenerator &generator, XnUserID nId, void *pCookie) |
void XN_CALLBACK_TYPE | UserCalibration_CalibrationEnd (xn::SkeletonCapability &capability, XnUserID nId, XnBool bSuccess, void *pCookie) |
void XN_CALLBACK_TYPE | UserCalibration_CalibrationStart (xn::SkeletonCapability &capability, XnUserID nId, void *pCookie) |
void XN_CALLBACK_TYPE | UserPose_PoseDetected (xn::PoseDetectionCapability &capability, XnChar const *strPose, XnUserID nId, void *pCookie) |
Variables | |
XnBool | g_bNeedPose = FALSE |
xn::Context | g_Context |
xn::DepthGenerator | g_DepthGenerator |
XnChar | g_strPose [20] = "" |
xn::UserGenerator | g_UserGenerator |
#define CHECK_RC | ( | nRetVal, | |||
what | ) |
if (nRetVal != XN_STATUS_OK) \ { \ printf("%s failed: %s\n", what, xnGetStatusString(nRetVal));\ return nRetVal; \ }
Definition at line 124 of file openni_tracker.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 131 of file openni_tracker.cpp.
void publishTransform | ( | XnUserID const & | user, | |
XnSkeletonJoint const & | joint, | |||
string const & | frame_id, | |||
string const & | child_frame_id | |||
) |
Definition at line 59 of file openni_tracker.cpp.
void publishTransforms | ( | const std::string & | frame_id, | |
image_transport::Publisher & | pub | |||
) |
Definition at line 84 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE User_LostUser | ( | xn::UserGenerator & | generator, | |
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 31 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE User_NewUser | ( | xn::UserGenerator & | generator, | |
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 22 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE UserCalibration_CalibrationEnd | ( | xn::SkeletonCapability & | capability, | |
XnUserID | nId, | |||
XnBool | bSuccess, | |||
void * | pCookie | |||
) |
Definition at line 39 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE UserCalibration_CalibrationStart | ( | xn::SkeletonCapability & | capability, | |
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 35 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE UserPose_PoseDetected | ( | xn::PoseDetectionCapability & | capability, | |
XnChar const * | strPose, | |||
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 53 of file openni_tracker.cpp.
XnBool g_bNeedPose = FALSE |
Definition at line 19 of file openni_tracker.cpp.
xn::Context g_Context |
Definition at line 15 of file openni_tracker.cpp.
xn::DepthGenerator g_DepthGenerator |
Definition at line 16 of file openni_tracker.cpp.
XnChar g_strPose[20] = "" |
Definition at line 20 of file openni_tracker.cpp.
xn::UserGenerator g_UserGenerator |
Definition at line 17 of file openni_tracker.cpp.