#include <ros/ros.h>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include "duration.h"
#include <sys/time.h>
#include "ros/time.h"
#include <cstdio>
#include <sstream>
#include <log4cxx/logger.h>
#include "ros/console.h"
#include <boost/static_assert.hpp>
#include <cassert>
#include <stdint.h>
#include <assert.h>
#include <stddef.h>
#include <string>
#include "ros/assert.h"
#include <vector>
#include <map>
#include <set>
#include <list>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/function.hpp>
#include "exceptions.h"
#include <boost/shared_array.hpp>
#include "ros/types.h"
#include "ros/forwards.h"
#include "ros/common.h"
#include "ros/macros.h"
#include <string.h>
#include <boost/array.hpp>
#include "serialized_message.h"
#include "message_forward.h"
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include "message_traits.h"
#include "ros/exception.h"
#include <boost/call_traits.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/or.hpp>
#include <boost/mpl/not.hpp>
#include <cstring>
#include <boost/bind.hpp>
#include <typeinfo>
#include <ros/message.h>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/make_shared.hpp>
#include <ros/static_assert.h>
#include "ros/message_traits.h"
#include "ros/builtin_message_traits.h"
#include "ros/serialization.h"
#include "ros/message_event.h"
#include "forwards.h"
#include "timer_options.h"
#include "wall_timer_options.h"
#include "ros/service_traits.h"
#include <boost/lexical_cast.hpp>
#include "subscription_callback_helper.h"
#include "ros/spinner.h"
#include <time.h>
#include "ros/publisher.h"
#include <boost/utility.hpp>
#include "ros/service_server.h"
#include "ros/subscriber.h"
#include "ros/node_handle.h"
#include "ros/init.h"
#include "XmlRpcValue.h"
#include "node_handle.h"
#include "ros/names.h"
#include <iomanip>
#include <boost/thread/mutex.hpp>
#include <ostream>
#include "ros/message_operations.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/Vector3.h"
#include "geometry_msgs/Quaternion.h"
#include "geometry_msgs/Point.h"
#include "btMatrix3x3.h"
#include "tf/exceptions.h"
#include "LinearMath/btTransform.h"
#include <boost/signals.hpp>
#include "geometry_msgs/TransformStamped.h"
#include "ros/ros.h"
#include "utilities/kdl-config.h"
#include "utilities/utility.h"
Go to the source code of this file.
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) |
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 |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 123 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 58 of file openni_tracker.cpp.
void publishTransforms | ( | const std::string & | frame_id | ) |
Definition at line 83 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE User_LostUser | ( | xn::UserGenerator & | generator, | |
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 30 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE User_NewUser | ( | xn::UserGenerator & | generator, | |
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 21 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE UserCalibration_CalibrationEnd | ( | xn::SkeletonCapability & | capability, | |
XnUserID | nId, | |||
XnBool | bSuccess, | |||
void * | pCookie | |||
) |
Definition at line 38 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE UserCalibration_CalibrationStart | ( | xn::SkeletonCapability & | capability, | |
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 34 of file openni_tracker.cpp.
void XN_CALLBACK_TYPE UserPose_PoseDetected | ( | xn::PoseDetectionCapability & | capability, | |
XnChar const * | strPose, | |||
XnUserID | nId, | |||
void * | pCookie | |||
) |
Definition at line 52 of file openni_tracker.cpp.
XnBool g_bNeedPose = FALSE |
Definition at line 18 of file openni_tracker.cpp.
xn::Context g_Context |
Definition at line 14 of file openni_tracker.cpp.
xn::DepthGenerator g_DepthGenerator |
Definition at line 15 of file openni_tracker.cpp.
XnChar g_strPose[20] = "" |
Definition at line 19 of file openni_tracker.cpp.
xn::UserGenerator g_UserGenerator |
Definition at line 16 of file openni_tracker.cpp.