PosturePerfection
Data Structures | Enumerations | Functions
PostureEstimating Namespace Reference

Responsible for analysing the results of pose estimation to determine any posture changes which must be relayed to the user. More...

Data Structures

struct  ConnectedJoint
 A representation of a body part. More...
 
struct  Pose
 The representation of a human's pose, containing all the expected ConnectedJoint More...
 
struct  PoseStatus
 Representation of user's pose for use by the pipeline processing. More...
 
class  DelayTimer
 Simple timer which just has the running flag set when running and unset when not running. More...
 
class  MessageTimer
 Broadcasts a message using RemoteNotify::Broadcast after a time is elapsed. More...
 
class  StopTimer
 Timer which countdowns and stops a PostureEstimating::MessageTimer if countdown ends. More...
 
class  PostureEstimator
 This class handles representations of the user's pose and calculates any updates to their pose that is required. More...
 

Enumerations

enum  PostureState {
  Good , Bad , Unset , Undefined ,
  UndefinedAndUnset
}
 Potential states which the posture can be. Unset means that the ideal_pose has not been set by the user. Undefined means that pose estimation has failed to confidently identify a full posture. More...
 
enum  Colours { Red , Green , Blue , Grey }
 Colours corresponding to PostureEstimator::colours More...
 

Functions

std::string stringJoint (Joint joint)
 Prints human readable string for enum Joint More...
 
Pose createPose ()
 Creates an empty Pose object. More...
 

Detailed Description

Responsible for analysing the results of pose estimation to determine any posture changes which must be relayed to the user.

Enumeration Type Documentation

◆ Colours

Colours corresponding to PostureEstimator::colours

Enumerator
Red 
Green 
Blue 
Grey 

◆ PostureState

Potential states which the posture can be. Unset means that the ideal_pose has not been set by the user. Undefined means that pose estimation has failed to confidently identify a full posture.

Enumerator
Good 
Bad 
Unset 
Undefined 
UndefinedAndUnset 

Function Documentation

◆ createPose()

Pose PostureEstimating::createPose ( )

Creates an empty Pose object.

◆ stringJoint()

std::string PostureEstimating::stringJoint ( Joint  joint)

Prints human readable string for enum Joint