Subsections

rt_singen_if

Library

Robotics


Description

This block is a event-driven sine wave generator. It lets you adjust amplitude (A), frequency (F), phase (P), bias (B) and delay (D).

The (regular) output of this block is determined by: y(t) = A * sin(F * (t - D) + P) + B


Dialog Box

Set RT sinus generator block parameters
Amplitude 1
Frequency 1
Phase 0
Bias 0
Delay 0

Default Properties


Interfacing Function

<PATH>/macros/rt_singen_if.sci
[view code]

Computational Function (type 4)

<PATH>/src/rt_singen.c
[view code]

See Also

rt_square_if,  


Bibliography

R. Bucher, The RTAI-Lab project, file "rtai-3.5/rtai-lab/scilab/devices/rtai_sinus.c".



Matteo Morelli - Interdepartmental Research Center "E. Piaggio", University of Pisa, April 2007
Get the Robotics Toolbox for Scilab/Scicos at SourceForge.net. Fast, secure and Free Open Source software downloads