Struct anjay_ipso_v2_3d_sensor_meta_struct

Struct Documentation

struct anjay_ipso_v2_3d_sensor_meta_struct

IPSO three-axis sensor object instance metadata.

Public Members

const char *unit

Unit of the measured values.

This value is optional; “Sensor Unit” resource will not be created if this value is set to NULL.

The pointed string won’t be copied, so user code must assure that the pointer will remain valid for the lifetime of the object.

bool y_axis_present

Set to true to enable “Y Value” resource.

bool z_axis_present

Set to true to enable “Z Value” resource.

bool min_max_measured_value_present

Set to true to enable:

  • ”Min X Value”, “Max X Value”,

  • ”Min Y Value”, “Max Y Value” (if y_axis_present),

  • ”Min Z Value”, “Max Z Value” (if z_axis_present),

  • ”Reset Min and Max Measured Values”

resources.

double min_range_value

The minimum value that can be measured by the sensor.

If the value is NaN the resource won’t be created.

double max_range_value

The maximum value that can be measured by the sensor.

If the value is NaN the resource won’t be created.