acc_detector_distance_definitions.h
Go to the documentation of this file.
1 // Copyright (c) Acconeer AB, 2022-2023
2 // All rights reserved
3
4 #ifndef ACC_DETECTOR_DISTANCE_DEFINITIONS_H_
5 #define ACC_DETECTOR_DISTANCE_DEFINITIONS_H_
6
7
8 /**
9 * @brief Enum for peak sorting algorithms
10 */
11 typedef enum
12 {
13 /*! Return peaks with the closest detection first. */
14 ACC_DETECTOR_DISTANCE_PEAK_SORTING_CLOSEST,
15 /*! Return peaks with the peak with the highest RCS first. */
16 ACC_DETECTOR_DISTANCE_PEAK_SORTING_STRONGEST,
17 } acc_detector_distance_peak_sorting_t;
18
19
20 /**
21 * @brief Enum for threshold methods
22 */
23 typedef enum
24 {
25 /*! Compares processed data against a fixed amplitude value */
26 ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_FIXED_AMPLITUDE,
27 /*! Compares processed data against a fixed strength value */
28 ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_FIXED_STRENGTH,
29 /*! Compares processed data against a recorded threshold */
30 ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_RECORDED,
31 /*! Uses the CFAR algorithm as a threshold */
32 ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_CFAR
33 } acc_detector_distance_threshold_method_t;
34
35
36 /**
37 * @brief Enum for reflector shapes
38 */
39 typedef enum
40 {
41 /*! Use a generic reflector shape for RCS calculation */
42 ACC_DETECTOR_DISTANCE_REFLECTOR_SHAPE_GENERIC,
43 /*! Use a planar reflector shape for RCS calculation */
44 ACC_DETECTOR_DISTANCE_REFLECTOR_SHAPE_PLANAR,
45 } acc_detector_distance_reflector_shape_t;
46
47
48 #endif
ACC_DETECTOR_DISTANCE_REFLECTOR_SHAPE_GENERIC
@ ACC_DETECTOR_DISTANCE_REFLECTOR_SHAPE_GENERIC
Definition: acc_detector_distance_definitions.h:42
ACC_DETECTOR_DISTANCE_PEAK_SORTING_STRONGEST
@ ACC_DETECTOR_DISTANCE_PEAK_SORTING_STRONGEST
Definition: acc_detector_distance_definitions.h:16
acc_detector_distance_peak_sorting_t
acc_detector_distance_peak_sorting_t
Enum for peak sorting algorithms.
Definition: acc_detector_distance_definitions.h:11
ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_CFAR
@ ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_CFAR
Definition: acc_detector_distance_definitions.h:32
ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_RECORDED
@ ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_RECORDED
Definition: acc_detector_distance_definitions.h:30
ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_FIXED_STRENGTH
@ ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_FIXED_STRENGTH
Definition: acc_detector_distance_definitions.h:28
ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_FIXED_AMPLITUDE
@ ACC_DETECTOR_DISTANCE_THRESHOLD_METHOD_FIXED_AMPLITUDE
Definition: acc_detector_distance_definitions.h:26
acc_detector_distance_reflector_shape_t
acc_detector_distance_reflector_shape_t
Enum for reflector shapes.
Definition: acc_detector_distance_definitions.h:39
acc_detector_distance_threshold_method_t
acc_detector_distance_threshold_method_t
Enum for threshold methods.
Definition: acc_detector_distance_definitions.h:23
ACC_DETECTOR_DISTANCE_PEAK_SORTING_CLOSEST
@ ACC_DETECTOR_DISTANCE_PEAK_SORTING_CLOSEST
Definition: acc_detector_distance_definitions.h:14
ACC_DETECTOR_DISTANCE_REFLECTOR_SHAPE_PLANAR
@ ACC_DETECTOR_DISTANCE_REFLECTOR_SHAPE_PLANAR
Definition: acc_detector_distance_definitions.h:44