嵌套任务队列和信号发生器
Last updated
Was this helpful?
Was this helpful?
JointAngle[index]= signalGenerator(amplitude, midpoint, freq, phase, resolution, frame)for (int t = 0; t < 360; t += resolution)
angle = midpoint +
round(amp * sin(2.0 * M_PI * ((t + phase * 3 / freq) / (360.0 / freq))));