Please enable JavaScript to view this site.

Function that executes a cam (y as a function of x) with sinusoidal y speed.

Syntax

real mv_sine_cam (real xCurr, real xCycleLen, real yCycleLen)

xCurr

Current value of x (current master space).

Can take values between 0 and xCycleLen

xCycleLen

Length of the cycle in x (master space)

yCycleLen

Length of the cycle in y (slave space)

Result

Position of y calculated from xCurr

Validity

Rule

Note

 

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC