34#include <visp3/core/vpConfig.h>
36#ifdef VISP_HAVE_COMEDI
40#include <visp3/core/vpException.h>
41#include <visp3/sensor/vpComedi.h>
71 comedi_set_global_oor_behavior(COMEDI_OOR_NAN);
77 for (
unsigned int channel = 0; channel <
m_nchannel; channel++) {
111 for (
unsigned int channel = 0; channel <
m_nchannel; channel++) {
118 "Cannot get %d data from device=%s subdevice=%d "
119 "channel=%d range=%d analog reference=%d",
137 std::vector<lsampl_t> raw_data = this->
getRawData();
141 for (
unsigned int channel = 0; channel <
m_nchannel; channel++) {
159 unsigned int channel = 0;
173#elif !defined(VISP_BUILD_SHARED_LIBS)
175void dummy_vpComedi() { }
Implementation of column vector and the associated operations.
std::vector< lsampl_t > m_maxdata
std::vector< lsampl_t > getRawData() const
vpColVector getPhyData() const
std::vector< comedi_range * > m_range_info
std::vector< unsigned int > m_chanlist
std::string getPhyDataUnits() const
error that can be emitted by ViSP classes.
static bool isNaN(double value)