22 #include <yarp/os/RFModule.h> 23 #include <yarp/math/Math.h> 24 #include <kinectWrapper/kinectWrapper_client.h> 51 ImageOf<PixelRgb>
rgb;
60 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelFloat> >
depthPort;
61 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelRgb> >
imagePort;
62 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelBgr> >
playersPort;
63 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelBgr> >
skeletonPort;
99 bool showImageParser(
string &mode,
string &submode);
103 bool configure(ResourceFinder &
rf);
105 bool checkCalibration();
109 bool respond(
const Bottle& cmd, Bottle& reply);
120 void setIdentity(Player p,
string name);
127 string getIdentity(Player p);
134 Vector transform2IR(Vector v);
141 Vector getSkeletonPattern(Player p);
150 case CV_EVENT_LBUTTONDOWN:
151 yInfo()<<
"Got a left-click.";
156 case CV_EVENT_RBUTTONDOWN:
157 yInfo()<<
"Got a right-click.";
int pointsCnt
integer of number of points
OPCClient * opc
OPC client object.
ImageOf< PixelBgr > skeletonImage
skeleton imange in a Yarp format
Agent * partner
human as an agent object
static void click_callback(int event, int x, int y, int flags, void *param)
map< int, string > identities
static clickType clicked
clicked type of object: left, right or nothing
Port rfh
port to referenceFrameHandler
static float clickY
float value of clicked coordinate in x and y axes
yarp::os::BufferedPort< Bottle > agentLocOutPort
Output Yarp Buffered Port of Bottle contains agent location.
bool isMounted
boolean value to check if the IR is mounted or not
map< string, Vector > skeletonPatterns
properties of skeleton obtained from kinect
string partner_default_name
string value of default name of partner
ImageOf< PixelBgr > playersImage
partner image in a Yarp format
yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelBgr > > playersPort
Output Yarp Buffered Port of partner images.
string showMode
string value of show mode of module: rgb, depth, skeleton, players
yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > > depthPort
Output Yarp Buffered Port of images contains depth information.
An OPC client using the datastructures defined within the icub-client library.
Port rpc
rpc server port to receive requests
ImageOf< PixelMono16 > depth
depth image in a Yarp format
Matrix kinect2icub
conversion matrix from kinect frame to icub frame
double dThresholdDisparition
timing maximal of non-reconnaissance of a agent, after thath we consider the agent as absent ...
double dSince
double value of timers
KinectWrapperClient client
kinect wrapper client object
yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelRgb > > imagePort
Output Yarp Buffered Port of images contains images.
yarp::os::BufferedPort< Bottle > outputSkeletonPort
Output Yarp Buffered Port of Bottle contains skeleton properties.
yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelBgr > > skeletonPort
Output Yarp Buffered Port of skeleton images.
bool handleMultiplePlayers
boolean value for multiple players or not, if not, obtain only the closest player ...
unsigned long dTimingLastApparition
time struct of the last appartition of an agent
ImageOf< PixelFloat > depthToDisplay
depth image to display in a Yarp format
bool isCalibrated
boolean value to check if the kinect is calibrated or not