Go to the documentation of this file.
10 #ifndef CSkeletonTracker_H
11 #define CSkeletonTracker_H
72 #define NUM_JOINTS 15 // number of joints
73 #define NUM_LINES 14 // number of lines joining joints
CSkeletonTracker()
Constructor.
bool m_showPreview
Preview window management.
void initialize()
Connects to the PrimeSense camera and prepares it to get skeleton data.
void processPreviewNone()
void setPreview(const bool setPreview=true)
Set/unset preview.
mrpt::gui::CDisplayWindow3D::Ptr m_win
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)
virtual ~CSkeletonTracker()
Destructor.
This class allows loading and storing values and vectors of different types from a configuration text...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
uint32_t m_timeStartUI
Timestamp management.
std::shared_ptr< CObservationSkeleton > Ptr
std::shared_ptr< CDisplayWindow3D > Ptr
std::vector< double > m_joint_theta
Joint angles when no skeleton has been detected.
unsigned int m_toutCounter
Timeout counter (for internal use only)
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
void * m_skeletons_ptr
Opaque pointers to specific NITE data.
mrpt::system::TTimeStamp m_timeStartTT
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
mrpt::poses::CPose3D m_sensorPose
Sensor pose.
A class for grabbing mrpt::obs::CObservationSkeleton from a PrimeSense camera.
GLsizei const GLchar ** string
void processPreview(const mrpt::obs::CObservationSkeleton::Ptr &obs)
Displays real-time info for the captured skeleton.
int m_nUsers
Number of detected users.
unsigned __int32 uint32_t
std::vector< std::pair< JOINT, JOINT > > m_linesToPlot
Lines between joints.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |