You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our current implementation of the LeapMotionSensor device extracts palm center data only, exposed in a 6-value bottle conveniently wrapped and published by YARP's analogServer. The Leap Motion API goes far beyond that, therefore I'd like to exploit its capabilities.
After finding out that the old OpenNI/NiTE skeleton device was removed (robotology/yarp#690) and no standard YARP skeleton interface is available (however, mind the yarp::sig::Skeleton proposal mentioned at robotology/assistive-rehab#2 (comment)), we noticed that yarp::dev::IFrameTransform may suit our needs. All necessary identifiers (e.g. "distal bone of the index finger of the left hand") could be encoded into a std::string which is then fed into this interface's methods as an input frame id. Also, base-to-finger frames can be obtained in this manner without resorting to other APIs.
The text was updated successfully, but these errors were encountered:
The server/client YARP device implementation of frame transform stuff (BTW compatible with ROS, hence it might have been designed in this way for such reason) doesn't follow the usual network wrapper + client device architecture. Instead, it forces a client-server-client communication as explained in robotology/yarp#1958. I'm prone to reuse the frame transform interfaces (either the current or the proposed one), not having to design my own, heavily Leap-specific class. At best, we'll have this new architecture available in YARP 3.2. Marking as blocked for now.
Our current implementation of the LeapMotionSensor device extracts palm center data only, exposed in a 6-value bottle conveniently wrapped and published by YARP's analogServer. The Leap Motion API goes far beyond that, therefore I'd like to exploit its capabilities.
After finding out that the old OpenNI/NiTE skeleton device was removed (robotology/yarp#690) and no standard YARP skeleton interface is available (however, mind the
yarp::sig::Skeleton
proposal mentioned at robotology/assistive-rehab#2 (comment)), we noticed thatyarp::dev::IFrameTransform
may suit our needs. All necessary identifiers (e.g. "distal bone of the index finger of the left hand") could be encoded into astd::string
which is then fed into this interface's methods as an input frame id. Also, base-to-finger frames can be obtained in this manner without resorting to other APIs.The text was updated successfully, but these errors were encountered: