|
|
"Richard S" <nomail@nomail> wrote:
> Any help would be appreciated and great fully received. Thank you.
AT the moment, I won't be able to work this out - what you have is a bit ...
busy.
I would diagram it out, with a standard clock value from 0-1.
As you have it, I see you are having MyClock go from 0 to 75, not 0 to 100,
since 25 + (75-25)*1 = 25 + 50 = 75.
I'd split the segments of the clock range of 0-1 into sub-clocks of 0-1 with a
switch-range-break block with ranges of 0-0.1, 0.1-0.2, etc.
then work out an equation for that segment to control your movement.
Once you get it WORKING, then you can "simplify" it and make the code shorter,
but, counterintuitively, the "long" way is often the quickest way.
Post a reply to this message
|
|