ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Xn source code

asked 2011-07-25 04:05:59 -0500

qdocehf gravatar image

updated 2011-09-03 15:22:54 -0500

kwc gravatar image

In ROS files, such as XnCppWrapper.h, many functions return functions beginning with xn. For instance:

inline XnStatus AddNeededNode(ProductionNode& needed)
{
        return xnAddNeededNode(m_hNode, needed.m_hNode);
}

or

inline XnStatus RemoveNeededNode(ProductionNode& needed)
{
        return xnRemoveNeededNode(m_hNode, needed.m_hNode);
}

The ROS documentation sites, such as http://www.ros.org/doc/api/nao_openni/html/XnCppWrapper_8h_source.html do not provide code for the functions beginning with xn. The OpenNI section on git also has functions that call these xn functions. I am unable to find the definition of any of these functions on the OpenNI section however. Does anyone know where I can find the function definitions? Or are parts of OpenNI closed source?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-07-25 04:44:07 -0500

The xn code is not part of ROS. Xn sounds like it's part of OpenNI, so surely the code you are looking for is there.

edit flag offensive delete link more

Comments

Do you know where I can find this code? Otherwise, is there an answer site like this for OpenNI where I can ask about it? The documentation page on <http://www.openni.org/documentation> does not contain the source code for many of these functions.
qdocehf gravatar image qdocehf  ( 2011-07-25 04:48:12 -0500 )edit
Not all documentation includes source code. If theirs doesn't, either download the source code from their website, or find their svn/git/mg browser and view on-line.
Asomerville gravatar image Asomerville  ( 2011-07-25 05:01:00 -0500 )edit
1

answered 2011-07-25 05:08:11 -0500

dornhege gravatar image

updated 2011-07-25 05:08:32 -0500

Maybe, you can find the function in the OpenNi source.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-07-25 04:05:59 -0500

Seen: 482 times

Last updated: Aug 02 '11