Grasshopper

algorithmic modeling for Rhino

Hello everyone,

I want to control two servo motor ,and make one delayed about 1 secon after  the other.

for example-

ture     -  A : 1     B : -1 (delay fo a second)
false   -    A :-1     B :  1 (delay fo a second)

But now I have a problem,

without [delay instruction] : two servo motor can be controled stably.

with [delay instruction]      : two servo motor are unstable.

The number of timer is unlimited and unstoppable.I thank this is the reason why the signal of firefly are unstable.

Is there any way to control delaying , and the number of components will not getting larger  unlimate?

Views: 433

Attachments:

Replies to This Discussion

I think it's likely more of an issue of generating the proper signal for each servo (rather than a delay).  You can use a graph mapper to send values to the servo... just make sure you change the scale so it's outputting values from 0-180 (rather than the default 0-1).  But, you could use two different graph mappers (one for each servo) and use a sine wave that is out of phase with the other.  I would try that method and see if it works for you.

Thanks please let me know if you make it.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service