Hello Guest it is November 16, 2019, 06:31:53 PM

Author Topic: Movement Plugin and DDA's  (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

Movement Plugin and DDA's
« on: August 02, 2011, 08:53:06 AM »
Hello to all.
I have found a problem with the Mach Wiki page "The G100/GREX plugin as a model for device control". There are two lines with different sense in the bottom of this page:

1) DDA1 is the initial velocity to be put out in the move in the first 1ms of movement. Each ms of movement that occurs, DDA2 is added to that velocity AND DDA3 is added to DDA2.

2) The math is simple: at each iteration (1024Hz rate) the
following operations are performed in sequence:
    <current velocity> = dda1
    dda1 += dda2
    dda2 += dda3

I cannot understand, what line is correct?
Re: Movement Plugin and DDA's
« Reply #1 on: August 03, 2011, 04:26:18 AM »
Yeah! I also worried about this problem.
I think that the more plausible number - 1024 Hz, since it corresponds better to the possibilities of the digital calculators. But there are doubts.
Help knowledgeable!