22 lines
553 B
C
22 lines
553 B
C
//
|
|
// Created by cfif on 16.05.2024.
|
|
//
|
|
|
|
#ifndef SMART_COMPONENTS_CARPOSITIONUPDATE_H
|
|
#define SMART_COMPONENTS_CARPOSITIONUPDATE_H
|
|
#include "EgtsProcessing.h"
|
|
|
|
#define CAR_EVENT_TIME_DISTANCE 40000
|
|
#define CAR_EVENT_TIME_MOVING 10000
|
|
#define CAR_EVENT_DISTANCE 25
|
|
|
|
|
|
#define CAR_EVENT_TIME_SPEED 1100
|
|
#define CAR_TRESHOLD_DETECT_SPEED 10
|
|
#define CAR_POINT_COUNT_SPEED 3
|
|
|
|
void CarEventPosition(tEgtsProcessing *env, tNmeaRmc *position, uint16_t totalSpeed);
|
|
void CarEventResetPosition(tEgtsProcessing *env);
|
|
|
|
#endif //SMART_COMPONENTS_CARPOSITIONUPDATE_H
|