|
Distance detector result. More...
#include <acc_detector_distance.h>
Data Fields | |
float | distances [(10U)] |
float | strengths [(10U)] |
uint8_t | num_distances |
bool | near_start_edge_status |
bool | calibration_needed |
int16_t | temperature |
acc_processing_result_t * | processing_result |
acc_processing_metadata_t * | processing_metadata |
const acc_config_t * | sensor_config |
Distance detector result.
Definition at line 50 of file acc_detector_distance.h.
bool acc_detector_distance_result_t::calibration_needed |
Indication of calibration needed.
The sensor calibration needs to be redone if this indication is set.
A detector calibration update should then be done after the new sensor calibration. A detector calibration update is done by calling acc_detector_distance_update_calibration
Definition at line 76 of file acc_detector_distance.h.
float acc_detector_distance_result_t::distances[(10U)] |
The detected distances in meters
Definition at line 55 of file acc_detector_distance.h.
bool acc_detector_distance_result_t::near_start_edge_status |
Indicating that there might be an object near the start point of the measured range
Definition at line 67 of file acc_detector_distance.h.
uint8_t acc_detector_distance_result_t::num_distances |
The number of detected distances. If 0, no distances where detected
Definition at line 63 of file acc_detector_distance.h.
acc_processing_metadata_t* acc_detector_distance_result_t::processing_metadata |
The metadata for the processing result
Note: The processing metedata is only valid until the next time acc_detector_distance_process is called.
Definition at line 96 of file acc_detector_distance.h.
acc_processing_result_t* acc_detector_distance_result_t::processing_result |
Radar data that the distance detection is based on. This will point to memory in the buffer supplied to acc_detector_distance_process
Note: The processing result is only valid until the next time acc_detector_distance_process is called.
Definition at line 89 of file acc_detector_distance.h.
const acc_config_t* acc_detector_distance_result_t::sensor_config |
The sensor_config used for the processing result
Note: The sensor_config is only valid until the next time acc_detector_distance_process is called.
Definition at line 103 of file acc_detector_distance.h.
float acc_detector_distance_result_t::strengths[(10U)] |
The reflective strengths of each distance
Definition at line 59 of file acc_detector_distance.h.
int16_t acc_detector_distance_result_t::temperature |
Temperature in sensor during measurement (in degree Celsius). Note that it has poor absolute accuracy and should only be used for relative temperature measurements.
Definition at line 81 of file acc_detector_distance.h.