Hey, Farshid.
Are experiencing random crashes with your test environment?
On Aug 28, 3:12 pm, Farshid Tavakoly <
farsh...@gmail.com> wrote:
> I solved this when I change this method parameter to
> void XN_CALLBACK_TYPE Steady_OnSteady(XnUInt32 nId, XnFloat fVelocity, void*
> cxt)
>
> instead of
> void XN_CALLBACK_TYPE Steady_OnSteady(XnFloat fVelocity, void* cxt)
>
> Now the server works and the camera is on so I have to see if I can fixed
> the rest :-)
> Many thanks Homer for your support!!
>
> On Sun, Aug 28, 2011 at 5:10 PM, Farshid Tavakoly <
farsh...@gmail.com>wrote:
>
>
>
>
>
>
>
> > One last questions,
> > No I try to recompile the code and I get following error without your
> > changes you did with following. ver 1.3.0
>
> > Error 69 error C2664: 'XnVSteadyDetector::RegisterSteady' : cannot convert
> > parameter 2 from 'void (__stdcall *)(XnFloat,void *)' to
> > 'XnVSteadyDetector::SteadyCB' C:\Program Files
> > (x86)\PrimeSense\NITE\Samples\AS3OpenNi\main.cpp 1178 1 AS3OpenNI
> > 70 IntelliSense: argument of type "void (__stdcall *)(XnFloat fVelocity,
> > void *cxt)" is incompatible with parameter of type
> > "XnVSteadyDetector::SteadyCB" c:\program files
> > (x86)\primesense\nite\samples\as3openni\main.cpp 1178 41 AS3OpenNI
>
> > Do you know why?
>
> > On Sun, Aug 28, 2011 at 4:47 PM, Farshid Tavakoly <
farsh...@gmail.com>wrote:
>
> >> Yes no problem :-)
>
> >> On Sun, Aug 28, 2011 at 4:43 PM, Homer Simpson <
homer.co...@gmail.com>wrote:
>
> >>> yep.
> >>> good luck for your devs and don't hesitate to share your creations ;)
>
> >>> Homer
>
> >>> 2011/8/28 Farshid Tavakoly <
farsh...@gmail.com>
>
> >>>> Thanks a lot!!! Yes I agree that we need to do a real solution for
> >>>> that!!
>
> >>>> Many thanks and best regards
>
> >>>> On Sat, Aug 27, 2011 at 9:38 PM, Homer Simpson <
homer.co...@gmail.com>wrote:
>
> >>>>> I give you the 3 files I've modified.
> >>>>> Look the differences with Windiff or other comparison file tool, I just
> >>>>> removed all reference to RGB vars & initialization. No really hard stuffs ;)
> >>>>> It seems to work but a best choice would be to handle both Kinect and
> >>>>> no-RGB devices.
> >>>>> For example, displaying a warning message when no RGB node without
> >>>>> making the application crash, or something like that.
>
> >>>>> I you want still more explanation about these modifications I'll do
> >>>>> them !
>
> >>>>> Homer.
>
> >>>>> By the way, the only man of the situation is AMB which provide us a so
> >>>>> great framework !
>
> >>>>> 2011/8/27 Farshid Tavakoly <
farsh...@gmail.com>
>
> >>>>>> Hi Homer,
> >>>>>> I appreciated your help and thanks a lot. Can you please send me the
> >>>>>> code that you changed and describe where you uncomment the code?
> >>>>>> Many thanks and best regards
>
> >>>>>> On Fri, Aug 26, 2011 at 1:44 PM, Homer Simpson <
homer.co...@gmail.com
> >>>>>> > wrote:
>
> >>>>>>> Hey it's your lucky day :)
> >>>>>>> I spent a few minutes to recompile the server without handling the
> >>>>>>> RGB camera.
> >>>>>>> I've not tested because I haven't the device but the binary seems to
> >>>>>>> run correctly.
>
> >>>>>>> Can you try this and give me a feedback ?
> >>>>>>> (For security reasons, I removed the extension of the attached file.
> >>>>>>> Just open it with WinRar or other soft you like, you will find the binary
> >>>>>>> inside.)
>
> >>>>>>> Homer
>
> >>>>>>> 2011/8/26 Homer <
homer.co...@gmail.com>
> ...
>
> read more »