acc_detector_distance_result_t Struct Reference

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_tprocessing_result
 
acc_processing_metadata_tprocessing_metadata
 
const acc_config_tsensor_config
 

Detailed Description

Field Documentation

◆ calibration_needed

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

Examples
example_detector_distance.c, example_detector_distance_calibration_caching.c, and example_detector_distance_with_iq_data_print.c.

Definition at line 76 of file acc_detector_distance.h.

◆ distances

float acc_detector_distance_result_t::distances[(10U)]

The detected distances in meters

Examples
example_detector_distance.c, and example_detector_distance_with_iq_data_print.c.

Definition at line 55 of file acc_detector_distance.h.

◆ near_start_edge_status

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.

◆ num_distances

uint8_t acc_detector_distance_result_t::num_distances

The number of detected distances. If 0, no distances where detected

Examples
example_detector_distance.c, and example_detector_distance_with_iq_data_print.c.

Definition at line 63 of file acc_detector_distance.h.

◆ processing_metadata

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.

Examples
example_detector_distance_with_iq_data_print.c.

Definition at line 96 of file acc_detector_distance.h.

◆ processing_result

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.

Examples
example_detector_distance_with_iq_data_print.c.

Definition at line 89 of file acc_detector_distance.h.

◆ sensor_config

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.

Examples
example_detector_distance_with_iq_data_print.c.

Definition at line 103 of file acc_detector_distance.h.

◆ strengths

float acc_detector_distance_result_t::strengths[(10U)]

The reflective strengths of each distance

Definition at line 59 of file acc_detector_distance.h.

◆ temperature

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.

Examples
example_detector_distance_calibration_caching.c.

Definition at line 81 of file acc_detector_distance.h.


The documentation for this struct was generated from the following file: