If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Modify Array Elements On The Fly
1 post
• Page 1 of 1
Modify Array Elements On The Fly
Hey guys, my brain has been squelching over this. Basically I want t know the best (quickest) way of taking a moving array of numbers and sliding their values.
So lets take an array of 5 values and every 5 seconds they change in value (from their current value to x). I want to slide between values. Make sense?
I know the slide prim is pretty good at this but i cant decide whether or not its fastest to slap in a ruby module and iterate over each value and the output it to slide and finally recombine into array.
Has anyone else done something similar or have a bit more knowledge on this topic?
So lets take an array of 5 values and every 5 seconds they change in value (from their current value to x). I want to slide between values. Make sense?
I know the slide prim is pretty good at this but i cant decide whether or not its fastest to slap in a ruby module and iterate over each value and the output it to slide and finally recombine into array.
Has anyone else done something similar or have a bit more knowledge on this topic?
- Drnkhobo
- Posts: 312
- Joined: Sun Aug 19, 2012 7:13 pm
- Location: ZA
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 63 guests