Re: smooth a single looping step for a biped robot

2004-05-18 Thread CB
Hi Kevin, Thankyou for the advice, your idea was pretty much how I (think I) constructed the posted vi. Except I weight from the mid point between the start/end points. Still your idea would simplify the code I've written. I am unsure if I have introduced an undesirable effect in my code. If you

Re: smooth a single looping step for a biped robot

2004-05-18 Thread Kevin Price
The trouble with shooting from the hip is when you shoot your own foot! As I think about it now, I realize that my earlier suggestion isn't the right way to go about it. My previous post described a type of blending operation that would really only be appropriate for a waveform that ought to be

Re: smooth a single looping step for a biped robot

2004-05-17 Thread Tristan J
Chris, Please could you give me a little more information on what you are attempting with the VI that you have attached, and whether you have made any progress. Kind Regards Tristan J Applications Engineer National Instruments

Re: smooth a single looping step for a biped robot

2004-05-17 Thread CB
Hi Tristan, I need a vi to take a waveform, typicaly 200 scans over 1.5 secs, and provide a smoothing/weighting action to join the start and end of the wave. Waves will be played as a loop and provide continuous walking for a biped robot. That is why it is important to smooth/join the start/end. I

Re: smooth a single looping step for a biped robot

2004-05-17 Thread Kevin Price
Just butting in here with a fairly simple idea that doesn't get into any filtering theory. Basically, you would just do a weighted average of the data points near the cycle boundary, and let the weighting factor ramp from 0 to 100% over the set of smoothed points. For example: suppose bn/b is

Re: smooth a single looping step for a biped robot

2004-05-17 Thread Kevin Price
Oops, didn't proofread that my less than and greater than symbols got interpreted as html. Here goes again on the last part: or generally, for -10 lt;= j lt;= +10 smoothed(j) = (0.50+0.05*j)*raw(j) + (0.50-0.05*j)*raw(n-j) smoothed(n-j) = (0.50+0.05*j)*raw(n-j) +