Class CObservationSkeleton

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class CObservationSkeleton : public mrpt::obs::CObservation

This class stores a skeleton as tracked by OPENNI2 & NITE2 libraries from PrimeSense sensors

See also

CObservation

Note

Class introduced in MRPT 1.3.1

Public Functions

inline CObservationSkeleton()

Constructor.

~CObservationSkeleton() override = default

Destructor

inline virtual void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override

A general method to retrieve the sensor pose on the robot. Note that most sensors will return a full (6D) CPose3D, but see the derived classes for more details or special cases.

See also

setSensorPose

inline virtual void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override

A general method to change the sensor pose on the robot. Note that most sensors will use the full (6D) CPose3D, but see the derived classes for more details or special cases.

See also

getSensorPose

virtual void getDescriptionAsText(std::ostream &o) const override

Build a detailed, multi-line textual description of the observation contents and dump it to the output stream.

Note

If overried by derived classes, call base CObservation::getDescriptionAsText() first to show common information.

Note

This is the text that appears in RawLogViewer when selecting an object in the dataset

Public Members

mrpt::poses::CPose3D sensorPose

The pose of the sensor on the robot.

TSkeletonJoint head

The skeleton joints (15)

TSkeletonJoint neck
TSkeletonJoint torso
TSkeletonJoint left_shoulder
TSkeletonJoint left_elbow
TSkeletonJoint left_hand
TSkeletonJoint left_hip
TSkeletonJoint left_knee
TSkeletonJoint left_foot
TSkeletonJoint right_shoulder
TSkeletonJoint right_elbow
TSkeletonJoint right_hand
TSkeletonJoint right_hip
TSkeletonJoint right_knee
TSkeletonJoint right_foot
struct TSkeletonJoint

A generic joint for the skeleton observation

Public Functions

TSkeletonJoint() = default

Default constructor

Public Members

double x = {.0}

3D position

double y = {.0}
double z = {.0}
double conf = {.0}

Confidence value [0…1]