21 #ifndef _PASAR_MODULE_H_ 22 #define _PASAR_MODULE_H_ 91 void saliencyTopDown();
96 void saliencyNormalize();
102 void saliencyLeakyIntegration();
108 bool saliencyPointing();
114 bool saliencyWaving();
115 void initializeMapTiming();
118 bool configure(yarp::os::ResourceFinder &
rf);
119 bool interruptModule();
121 bool respond(
const yarp::os::Bottle&
command, yarp::os::Bottle& reply);
bool checkWaving
whether to detect waving of an agent
double thresholdWaving
minimum waving detected
Grants access to high level motor commands (grasp, touch, look, goto, etc) of the robot as well as it...
double thresholdMovementAccelAgent
minimum acceleration to detect an agent
double thresholdPointing
maximum distance between hand and object to detect pointing
yarp::sig::VectorOf< double > rightHandt2
position of right at t2
double dBurstOfPointing
how much to increase saliency if object is pointed at
std::map< int, ObjectModel > OPCEntities
double lastTimePointing
last time point when the agent was pointing
std::pair< bool, bool > presentRightHand
first: whether right hand was present at t1; second: whether right hand is present at t2 ...
bool isWaving
if if the human is waving
Represent any physical entity (including objects and agents) that can be stored within the OPC...
yarp::sig::VectorOf< double > rightHandt1
position of right at t1
double pTopDownDisappearanceBurst
score of saliency for an diappereance
double dthresholdAppear
minimum time an object has to be present before it is detected as appeared
double pTopDownWaving
increase of saliency if waving
yarp::sig::VectorOf< double > leftHandt2
position of left hand at t2
double thresholdMovementAccelObject
minimum acceleration to detect an object
bool isPointing
if the human is pointing
yarp::sig::VectorOf< double > leftHandt1
position of left hand at t1
std::map< int, ObjectModel > presentObjectsLastStep
double pExponentialDecrease
Speed of the decrease of the saliency over the time (should be less than 1)
std::map< int, std::pair< double, double > > presentCurrentSpeed
icubclient::ICubClient * iCub
bool checkPointing
whether to detect pointing of an agent
double thresholdSaliency
if object saliency is below this value, it is set to 0
yarp::os::Port handlerPort
a port to handle messages
std::pair< bool, bool > presentLeftHand
first: whether left hand was present at t1; second: whether left hand is present at t2 ...
double pTopDownAccelerationCoef
score of saliency for an acceleration detected
std::map< int, std::pair< double, double > > presentLastSpeed
double pTopDownAppearanceBurst
score of saliency for an appereance
double lastTimeWaving
last time point when the agent was waving
double dthresholdDisappear
minimum time an object has to be absent before it is detected as disappeared