#include <commands_3dm.hpp>
◆ Type
| Enumerator |
|---|
| WINDOW | Window comparison. Trigger is active if low_thres <= value <= high_thres. If the thresholds are reversed, the trigger is active when value < high_thres or value > low_thres.
|
| INTERVAL | Trigger at evenly-spaced intervals. Normally used with time fields to trigger periodically. Trigger is active when (value % interval) <= int_thres. If the thresholds are reversed (high_thres < low_thres) then the trigger is active when (value % low_thres) > high_thres.
|
◆ extract()
| void mip::commands_3dm::EventTrigger::ThresholdParams::extract |
( |
Serializer & |
serializer | ) |
|
◆ insert()
| void mip::commands_3dm::EventTrigger::ThresholdParams::insert |
( |
Serializer & |
serializer | ) |
const |
◆ @72
◆ @74
◆ desc_set
| uint8_t mip::commands_3dm::EventTrigger::ThresholdParams::desc_set = 0 |
Parameters.
Descriptor set of target data quantity.
◆ field_desc
| uint8_t mip::commands_3dm::EventTrigger::ThresholdParams::field_desc = 0 |
Field descriptor of target data quantity.
◆ high_thres
| double mip::commands_3dm::EventTrigger::ThresholdParams::high_thres |
◆ int_thres
| double mip::commands_3dm::EventTrigger::ThresholdParams::int_thres |
◆ interval
| double mip::commands_3dm::EventTrigger::ThresholdParams::interval |
◆ low_thres
| double mip::commands_3dm::EventTrigger::ThresholdParams::low_thres |
◆ param_id
| uint8_t mip::commands_3dm::EventTrigger::ThresholdParams::param_id = 0 |
1-based index of the target parameter within the MIP field. E.g. for Scaled Accel (0x80,0x04) a value of 2 would represent the Y axis.
◆ type
| Type mip::commands_3dm::EventTrigger::ThresholdParams::type = static_cast<Type>(0) |
Determines the type of comparison.
The documentation for this struct was generated from the following files: