Hello Guest it is April 25, 2024, 02:58:00 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ART

781
Mach SDK plugin questions and answers. / Re: Wiimote plugin
« on: December 29, 2009, 10:52:49 PM »
If it were me, Id breakpoint on the poll line and check the contents of the wiimotes[0] variable..

Art

782
Mach SDK plugin questions and answers. / Re: Wiimote plugin
« on: December 29, 2009, 10:51:49 PM »
Hi:

 Yeah, Fatal errors tend to do that.. better then the old days of instant blue screen though. Take out a few lines to find what line exactly is causing it. Your code is assuming sucessfull completion by the look of it, if the calls dont properly send you a pointer to the remote though, youll end up querying a null pointer.. and that may be the cause of your trouble..

Art

783
Mach SDK plugin questions and answers. / Re: Wiimote plugin
« on: December 29, 2009, 09:14:32 PM »
Hi:

>>wiimotestatus->connected = wiiuse_connect(wiimotes, wiimoteconfig->maxwiimotes);
Now my problem is in the next part-------------------------------------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>>>>>>>>>
     wiiuse_poll(wiimotes, 1);
     wiiuse_motion_sensing(wiimotes[0], 1);
     wiimotestatus->roll = wiimotes[0]->orient.roll;
 
   ....

   Im not familiar with the wii motes calls, but it seems to me youd want to check to make sure the connection worked by checking
 is true or not before calling poll, and after calling connect..

Art


   

784
LazyTurn / Re: LazyTurn
« on: December 22, 2009, 11:14:33 PM »
No, the thinking is done, Im codeing it now..course if it dont work then Im back to thinking. :)

Art

785
LazyTurn / Re: LazyTurn
« on: December 20, 2009, 08:12:12 PM »
True.. Ill consider that for next release.

Art


786
General Mach Discussion / Re: Problems threading on the lathe
« on: December 18, 2009, 10:45:20 PM »
Terry:

 Thx.. It may be a general bug with other code, but Ill run a check tomorrow on it and let Brian knowwhereit lies..


Art

787
LazyTurn / Re: LazyTurn
« on: December 14, 2009, 10:35:00 AM »
Hi Guys:

  Im working on finish pass, but a recent note that a plunge rate woudl be good also made me add that as its a fair point.

Here's the latest version that allows for a plunge rate to be set for any tool as well.

Art

788
LazyTurn / Re: LazyTurn
« on: December 13, 2009, 09:33:09 PM »
Dave:

 Ill release a test as I get there. Work in underway , and Im hopefull it wont be too long.
I finally figured out HOW Ill do it, so if the idea works, it may be soon, if it fails... :-)
Art

789
General Mach Discussion / Re: Problems threading on the lathe
« on: November 29, 2009, 02:29:59 PM »
Terry:

 No, the Turn diags are now outdated due to these changes. Ill revisit them when I know the release version of Mach3 is OK with threading. Theres a few changes I need to make to the Theading dll to be usefull again. It was only experimental as it was.

Thx
Art

790
General Mach Discussion / Re: Problems threading on the lathe
« on: November 29, 2009, 10:58:51 AM »
Hi Rich:

  No, the fix specifically was for CPU's over 2.1Ghz on PCI timer speed. Originally, the PCI bus ran at 1Mhz,
but it seems over time to have sped up, and some actually run at over 3Ghz.

  Now if you have less than 2.1Ghz, you were fine, but after that the RPM oudl read negative, and the correction would be
negative. Ths version fixes that.

 Peter: Thx for the confirmation, Ill notify Brian as to the fix.

Art