|
|
#include <complex.h>#include <math.h>#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include <string.h>#include "acc_alg_basic_utils.h"#include "acc_algorithm.h"#include "acc_config.h"#include "acc_definitions_a121.h"#include "acc_definitions_common.h"#include "acc_hal_definitions_a121.h"#include "acc_hal_integration_a121.h"#include "acc_integration.h"#include "acc_integration_log.h"#include "acc_processing.h"#include "acc_rss_a121.h"#include "acc_sensor.h"#include "acc_version.h"Go to the source code of this file.
Data Structures | |
| struct | acc_surface_velocity_config_t |
| Surface velocity application config container. More... | |
| struct | acc_surface_velocity_handle_t |
| Surface velocity application context handle. More... | |
| struct | acc_surface_velocity_result_t |
| Surface velocity application results container. More... | |
Macros | |
| #define | CONFIG_SURFACE_DISTANCE (1.0f) |
| #define | CONFIG_SENSOR_ANGLE (45.0f) |
| #define | CONFIG_THRESHOLD_SENSITIVITY (0.15f) |
| #define | CONFIG_PSD_LP_COEFF (0.75f) |
| #define | CONFIG_VELOCITY_LP_COEFF (0.98f) |
| #define | CONFIG_SWEEP_RATE (3000U) |
| #define | CONFIG_HWAAS (16U) |
| #define | SENSOR_ID (1U) |
| #define | SENSOR_TIMEOUT_MS (1000U) |
| #define | MIN_PEAK_VS 0.1f |
| #define CONFIG_HWAAS (16U) |
[Default app config - can be adapted to reflect the setup]
Hardware accelerated average sampling.
Definition at line 79 of file example_surface_velocity.c.
| #define CONFIG_PSD_LP_COEFF (0.75f) |
[Default app config - can be adapted to reflect the setup]
Low-pass filtered power spectral density coefficient.
Affects the stability of the estimate.
Definition at line 56 of file example_surface_velocity.c.
| #define CONFIG_SENSOR_ANGLE (45.0f) |
[Default app config - can be adapted to reflect the setup]
Angle of the sensor compared to the surface.
Definition at line 40 of file example_surface_velocity.c.
| #define CONFIG_SURFACE_DISTANCE (1.0f) |
[Default app config - can be adapted to reflect the setup]
Distance to surface in meters.
Definition at line 33 of file example_surface_velocity.c.
| #define CONFIG_SWEEP_RATE (3000U) |
[Default app config - can be adapted to reflect the setup]
The sweep rate for sweeps in a frame during measurement.
Definition at line 72 of file example_surface_velocity.c.
| #define CONFIG_THRESHOLD_SENSITIVITY (0.15f) |
[Default app config - can be adapted to reflect the setup]
Threshold level sensitivity.
Definition at line 47 of file example_surface_velocity.c.
| #define CONFIG_VELOCITY_LP_COEFF (0.98f) |
[Default app config - can be adapted to reflect the setup]
Low-pass filtered velocity coefficient.
Affects the stability of the estimate.
Definition at line 65 of file example_surface_velocity.c.
| #define MIN_PEAK_VS 0.1f |
Definition at line 84 of file example_surface_velocity.c.
| #define SENSOR_ID (1U) |
Definition at line 81 of file example_surface_velocity.c.
| #define SENSOR_TIMEOUT_MS (1000U) |
Definition at line 82 of file example_surface_velocity.c.
| int acconeer_main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Assembly test example.
Touchless button application.
Tank level reference application.
Smart presence reference application.
Parking application.
Breathing example application.
Waste level application.
Vibration example.
Surface velocity example application.
Service subsweeps example.
Service multple configurations example.
Low power service example.
Service sensor calibration caching example.
Service example.
Processing subtract adaptive background example.
Processing static presence example.
Processing peak interpolation example.
Processing noncoherent mean example.
Processing coherent mean example.
Processing amplitude example.
hand motion application
Detector presence example with multiple configurations.
Low power detector presence example.
Detector presence example.
Detector distance example with iq data print.
Distance detector low power example.
Detector distance with calibration caching example.
Detector distance example.
Control helper example.
Cargo application.
Test if measure on wake up is enable Do a measurement if the the detector is ready (configured and calibrated)
Test if measure on wake up is enable Do a measurement if the the detector is ready (configured and calibrated)
Detector filters and states are reset on prepare (reconfiguration) to avoid risk of false detections when switching back to a zone.
Detector filters and states are reset on prepare (reconfiguration) to avoid risk of false detections when switching back to a zone.
Definition at line 202 of file example_surface_velocity.c.
|
static |
Calculate a dynamic smoothing factor.
| [in] | static_sf | The target smoothing factor that will be used after the first sweeps |
| [in] | update_count | The update count should be 0 for the first sweep and increased by one for each update |
Definition at line 989 of file example_surface_velocity.c.
|
static |
Calculate PSD (power spectral density)
| handle | Surface velocity handle |
Definition at line 790 of file example_surface_velocity.c.
|
static |
Definition at line 355 of file example_surface_velocity.c.
|
static |
Definition at line 541 of file example_surface_velocity.c.
|
static |
Definition at line 347 of file example_surface_velocity.c.
|
static |
Definition at line 973 of file example_surface_velocity.c.
|
static |
Definition at line 319 of file example_surface_velocity.c.
|
static |
Definition at line 621 of file example_surface_velocity.c.
|
static |
Definition at line 578 of file example_surface_velocity.c.
|
static |
Definition at line 756 of file example_surface_velocity.c.
|
static |
Definition at line 966 of file example_surface_velocity.c.
|
static |
Definition at line 856 of file example_surface_velocity.c.
|
static |
Definition at line 479 of file example_surface_velocity.c.
|
static |
Definition at line 470 of file example_surface_velocity.c.
|
static |
Definition at line 456 of file example_surface_velocity.c.
|
static |
Definition at line 296 of file example_surface_velocity.c.
|
static |
Definition at line 506 of file example_surface_velocity.c.