|
Xenomai 3.3.2
|
Analogy for Linux, device, subdevice, etc. More...
#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <math.h>#include <rtdm/analogy.h>#include <stdio.h>#include <errno.h>#include "iniparser/iniparser.h"#include "boilerplate/ancillaries.h"#include "calibration.h"Functions | |
| int | a4l_read_calibration_file (char *name, struct a4l_calibration_data *data) |
| Read the analogy generated calibration file. | |
| int | a4l_get_softcal_converter (struct a4l_polynomial *converter, int subd, int chan, int range, struct a4l_calibration_data *data) |
| Get the polynomial that will be use for the software calibration. | |
| int | a4l_rawtodcal (a4l_chinfo_t *chan, double *dst, void *src, int cnt, struct a4l_polynomial *converter) |
| Convert raw data (from the driver) to calibrated double units. | |
| int | a4l_dcaltoraw (a4l_chinfo_t *chan, void *dst, double *src, int cnt, struct a4l_polynomial *converter) |
| Convert double values to raw calibrated data using polynomials. | |
Analogy for Linux, device, subdevice, etc.
related features
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.