mirror of
https://gitee.com/openharmony/msdp_device_status
synced 2025-03-01 12:05:55 +00:00
Modify the threshold Signed-off-by:mayunteng_1 <mayunteng@huawei.com>
Signed-off-by: mayunteng_1 <mayunteng@huawei.com>
This commit is contained in:
parent
9981c39648
commit
6fd03f445c
@ -27,16 +27,16 @@ namespace OHOS {
|
||||
namespace Msdp {
|
||||
namespace DeviceStatus {
|
||||
constexpr double PI = 3.141592653589793;
|
||||
constexpr int32_t RESULTANT_ACC_LOW_THRHD = 5;
|
||||
constexpr int32_t RESULTANT_ACC_UP_THRHD = 12;
|
||||
constexpr int32_t RESULTANT_ACC_LOW_THRHD = 7;
|
||||
constexpr int32_t RESULTANT_ACC_UP_THRHD = 11;
|
||||
constexpr double ACC_VALID_THRHD = 160.0;
|
||||
constexpr double ANGLE_180_DEGREE = 180.0;
|
||||
constexpr double ANGLE_HOR_UP_THRHD = 180.1;
|
||||
constexpr double ANGLE_HOR_LOW_THRHD = 160.0;
|
||||
constexpr double ANGLE_HOR_FLIPPED_THRHD = 20.0;
|
||||
constexpr double ANGLE_HOR_FLIPPED_THRHD = 5.0;
|
||||
constexpr double ANGLE_VER_UP_THRHD = 110.0;
|
||||
constexpr double ANGLE_VER_LOW_THRHD = 80.0;
|
||||
constexpr double ANGLE_VER_FLIPPED_THRHD = 20.0;
|
||||
constexpr double ANGLE_VER_FLIPPED_THRHD = 5.0;
|
||||
|
||||
constexpr int32_t VALID_TIME_THRESHOLD = 500;
|
||||
constexpr int32_t ACC_SAMPLE_PERIOD = 100;
|
||||
|
Loading…
x
Reference in New Issue
Block a user