64 double x{.0},
y{.0},
z{.0};
TSkeletonJoint right_hand
~CObservationSkeleton() override=default
Destructor.
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot.
This class stores a skeleton as tracked by OPENNI2 & NITE2 libraries from PrimeSense sensors...
TSkeletonJoint left_elbow
mrpt::poses::CPose3D sensorPose
The pose of the sensor on the robot.
TSkeletonJoint right_elbow
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
TSkeletonJoint right_shoulder
This namespace contains representation of robot actions and observations.
double conf
Confidence value [0...1].
TSkeletonJoint right_foot
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
CObservationSkeleton()
Constructor.
TSkeletonJoint()=default
Default constructor.
TSkeletonJoint head
The skeleton joints (15)
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A generic joint for the skeleton observation.
TSkeletonJoint right_knee
TSkeletonJoint left_shoulder