|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.|
FifoDescription: A simple first in, first out class.
Keywords: ecl containers fifo
Tutorial Level: BEGINNER
During the construction of fifo, typically length of buffer may be important.
An initialised buffer can be important in variaous situation. For example, if you wish to calculate a moving average, you should wait for N (length of buffer) pieces of incoming of data. However, if you initialise the whole buffer as above, you can proceed immediately.