Search found 30 matches

by sgraves
Mon Jul 11, 2016 6:20 pm
Forum: LitePlacer Software
Topic: Small movement pipeline issue
Replies: 1
Views: 2108

Small movement pipeline issue

Several times we have gone into a mode where the machine is creeping across the bed. I have looked at the log and it looks like a pipeline issue. Somehow a G0 command gets executed ahead of the small movement G1 command. Then the machine is moved far away from the original location and small movemen...
by sgraves
Mon Jul 11, 2016 3:35 am
Forum: LitePlacer Software
Topic: Are we doing needle calibration right?
Replies: 38
Views: 22205

Re: Are we doing needle calibration right?

I turned on Slack Compensation on and found that it needs to be disabled during the needle centering functioning. The compensating moves are bigger than the small moves needed to center the needle. I have changed the algorithm, committed and pushed the changes to my fork. Malte, do I need to do a an...
by sgraves
Mon Jul 11, 2016 1:37 am
Forum: LitePlacer Software
Topic: Are we doing needle calibration right?
Replies: 38
Views: 22205

Re: Are we doing needle calibration right?

I have made changes to the needle wobble algorithms. Surprisingly, once i delved into it, the centering function became less important. In fact, it is a trivial part of the solution. Malte et. al. I have made a pull request with the changes. https://github.com/jkuusama/LitePlacer-DEV/pull/42 Let me ...
by sgraves
Sat Jul 09, 2016 4:30 pm
Forum: LitePlacer Software
Topic: Are we doing needle calibration right?
Replies: 38
Views: 22205

Re: Are we doing needle calibration right?

Hi Malte, Here is the URL. https://github.com/sgraves/LitePlacer-DEV The PictureBoxCrashFix branch is valid. I wanted to get that code out first. The NeedleWobble branch has PictureBoxCrashFix code (and other) mixed into it. It is broken. I haven't decided how to handle it yet. I will probably blow ...
by sgraves
Fri Jul 08, 2016 11:45 pm
Forum: LitePlacer Software
Topic: Are we doing needle calibration right?
Replies: 38
Views: 22205

Re: Are we doing needle calibration right?

Malte, I think I am finally able to get something done with Git. The final piece came when I realized that the files in the working directory changed to the checked branch. Not knowing that makes it hard to keep branches and changes straight. I can create a pull request now, but I have some changes ...
by sgraves
Fri Jul 08, 2016 11:35 pm
Forum: LitePlacer Software
Topic: PictureBox Crashes
Replies: 23
Views: 14899

Re: PictureBox Crashes

Juha, Good news, we have run all day without a single crash. We would have had multiple crashes in the same time period before the change. Evidence is strong that this is the fix. I had been trying to figure out what I have been doing in git. Finally after understanding that the files change in the ...
by sgraves
Thu Jul 07, 2016 6:47 pm
Forum: LitePlacer Software
Topic: PictureBox Crashes
Replies: 23
Views: 14899

Re: PictureBox Crashes

Ok, I am trying something different. I am back to -locker. I have created a new class and overrode the OnPaint method. private static object _locker = new object(); // Image= PictureBox in UI, the final shown image // Frame= picture from camera public class ProtectedPictureBox : System.Windows.Forms...
by sgraves
Thu Jul 07, 2016 4:02 pm
Forum: LitePlacer Software
Topic: Are we doing needle calibration right?
Replies: 38
Views: 22205

Re: Are we doing needle calibration right?

Mrandt, I haven't figured out Git (as he sheepishly looks at his feet :oops: ). I have used other version control systems (CVS, SVN). Git is different, I haven't yet grokked it. I forked Juha's repository and cloned my repository to my local machine. I started making changes to that code (I probably...
by sgraves
Thu Jul 07, 2016 3:40 pm
Forum: LitePlacer Software
Topic: PictureBox Crashes
Replies: 23
Views: 14899

Re: PictureBox Crashes

Bad news. We are still crashing. It took a while, but then a crash and very quick crashes after the next three program starts. My background is embedded systems, Windows programming is not in my wheel house. It seems to me that we don't have a way to tell the task that runs paint that we are manipul...
by sgraves
Wed Jul 06, 2016 11:31 pm
Forum: LitePlacer Software
Topic: Are we doing needle calibration right?
Replies: 38
Views: 22205

Re: Are we doing needle calibration right?

I have implemented my version for the algorithm implementing this discussion. I have been using it and it seems to work quite well. I don't have a completely unbiased comparison because we are still tuning the machine. We have corrected issues since the change that would make the machine work better...