1. Set Frame Rate
The idea is 30 frames, but it's strange to set the frame rate here. However, it is not an interface for setting the frame rate.
Xnmapoutputmode mode;
Pgenerator-> getmapoutputmode (mode); mode. NFPs = FPS; xnstatus nretval = pgenerator-> setmapoutputmode (mode );
2. Read IR images
Previously, because irgenerator cannot be created successfully, it was determined that the Kinect did not implement the irgenerator interface.
Well. Obviously wrong. There is a big problem with the way of thinking.
However, after irgenerator is created successfully, start generating will have
Device Protocol: Bad parameter sent!
Solution:
This is also the outputmode that needs to be set for generator,
Although you can use getoutputmode to view the mode before setting, it is also VGA and fps30, but startgenerating is not allowed if you do not set it.
No.