14 namespace duds {
namespace hardware {
namespace devices {
namespace instruments {
50 std::unique_ptr<duds::hardware::interface::I2c>
com;
116 AMG88xx(std::unique_ptr<duds::hardware::interface::I2c> &c);
A container for a value and a unit to better describe the value.
const double8x8 & image() const
Provides direct access to the most recent sample.
void configure(bool fps1)
Configures the device.
~AMG88xx()
Suspends the device operation (sleep mode) if a DeviceMisidentified error did not occur on the last s...
void oneFps()
Configures the device for a 1Hz sampling rate.
duds::data::Quantity temperature() const
Returns the temperature of the device as reported by its thermistor.
void suspend()
Transitions the device to sleep mode.
Support for the AMG88xx, a low resolution thermal camera.
unsigned int mode
Current operating mode.
void sample()
Reads a sample from the device.
void start()
Transitions the device to normal operating mode so that it begins sampling.
unsigned int fps1Not10
Frame rate setting.
unsigned int misid
True when the last read of the operating mode failed on error, or provided a result that did not matc...
void resume()
Same as start().
Regular sampling at 1Hz or 10Hz.
std::unique_ptr< duds::hardware::interface::I2c > com
The I2C communication interface.
AMG88xx(std::unique_ptr< duds::hardware::interface::I2c > &c)
Attempts to reset the device and put it into sleep mode.
double double8x8[8][8]
Image array type.
void tenFps()
Configures the device for a 10Hz sampling rate.
Header for Conversarion; includes ConversationVector.hpp and ConversationExternal.hpp.
std::int16_t temp
Thermistor temperature.
No sampling ; reduced power usage.
duds::hardware::interface::Conversation read
Used to read in sampled data from the device.
Only mention in documentation is "Stand-by mode (60sec intermittence)".
Only mention in documentation is "Stand-by mode (10sec intermittence)".
double img[8][8]
Temperature image.
Represents a two-way conversation with a device.