Missing NTCSensor Python binding
Merge request 170 generalized NTCSensor
to take an ADCDevice
instead of a TextSerialCom
as an input. After this, it seems that in devel the Python binding for the NTCSensor
constructor is missing. I tried adding in src/libDevCom/python.cpp
.def(py::init<uint8_t, std::shared_ptr<ADCDevice>, bool, float, float, float, bool, float, float>());
but when I then try (in Python) to create a NTCSensor
from a derived ADCDevComuino
rather than from the ADCDevice
base class, I get
Unable to load a custom holder type from a default-holder instance
@jgrosse and @gstark - do you know how this can be fixed? Or perhaps I misunderstand how the generalized NTCSensor
is supposed to be used from Python?