fetcher 0.0.0
A command line utility for reading sensor data over I2C and providing it over stdout.
|
#include <sensor_api.h>
Data Fields | |
uint8_t | type |
uint8_t | id |
union { | |
float FLOAT | |
uint32_t U32 | |
uint16_t U16 | |
uint8_t U8 | |
int32_t I32 | |
int16_t I16 | |
int8_t I8 | |
vec3d_t VEC3D | |
vec2d_i32_t VEC2D_I32 | |
vec2d_t VEC2D | |
} | data |
Describes a message that can be sent on a message queue and recognized by both fetcher and packager
union { ... } common_t::data |
The way the contents of this struct should be interpreted
float common_t::FLOAT |
int16_t common_t::I16 |
int32_t common_t::I32 |
int8_t common_t::I8 |
uint8_t common_t::id |
Sensor ID
uint8_t common_t::type |
Measurement type
uint16_t common_t::U16 |
uint32_t common_t::U32 |
uint8_t common_t::U8 |
vec2d_t common_t::VEC2D |
vec2d_i32_t common_t::VEC2D_I32 |
vec3d_t common_t::VEC3D |