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

XnUserID ROS source code

asked 2011-07-01 05:35:56 -0500

qdocehf gravatar image

updated 2014-01-28 17:09:57 -0500

ngrennan gravatar image

While looking at the source code for openni_tracker.cpp, I came across a class called XnUserID. I cannot find the constructor for the class, and I have found nothing about it on the internet. Could someone post the constructor for XnUserID as well as its functions, or at least tell me where I can find it?

On a side note, what is Xn supposed to mean? It is in a lot of the code for ROS packages.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-07-01 05:43:32 -0500

seanarm gravatar image

XnUserIS is just an XnUInt32:

typedef XnUInt32 XnUserID

ref: http://www.ros.org/doc/api/nao_openni/html/XnTypes_8h_source.html

edit flag offensive delete link more

Comments

Where can I find the definition for XnUInt32?
qdocehf gravatar image qdocehf  ( 2011-07-01 05:48:24 -0500 )edit
XnUInt32 is just an unsigned int
seanarm gravatar image seanarm  ( 2011-07-01 07:18:37 -0500 )edit
How can it be an unsigned int if it is its own class?
qdocehf gravatar image qdocehf  ( 2011-07-01 07:21:48 -0500 )edit
All the types that start with Xn are defined by the OpenNI framework. Check it's documentation and API to find out more.
Miguel Prada gravatar image Miguel Prada  ( 2011-07-05 18:24:01 -0500 )edit

Question Tools

Stats

Asked: 2011-07-01 05:35:56 -0500

Seen: 496 times

Last updated: Jul 05 '11