Fixed windspeed calculation radius value.
This commit is contained in:
parent
90a6699699
commit
6109a2901d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
#define WIFI_MINIMUM_SIGNAL_QUALITY 10 // percent
|
#define WIFI_MINIMUM_SIGNAL_QUALITY 10 // percent
|
||||||
#define RESET_ESP_TIME_INTERVAL_MS 3600000
|
#define RESET_ESP_TIME_INTERVAL_MS 3600000
|
||||||
|
|
||||||
#define ROTOR_LENGTH_KM 0.000115
|
#define ROTOR_LENGTH_KM 0.000016 // 1.6cm
|
||||||
#define WIND_SENSOR_MEAS_TIME_S 5.0
|
#define WIND_SENSOR_MEAS_TIME_S 5.0
|
||||||
#define SEC_TO_HOUR_FACTOR (60.0 * 60.0)
|
#define SEC_TO_HOUR_FACTOR (60.0 * 60.0)
|
||||||
#define COUNT_TO_KMH ((TWO_PI * ROTOR_LENGTH_KM / WIND_SENSOR_MEAS_TIME_S) * SEC_TO_HOUR_FACTOR)
|
#define COUNT_TO_KMH ((TWO_PI * ROTOR_LENGTH_KM / WIND_SENSOR_MEAS_TIME_S) * SEC_TO_HOUR_FACTOR)
|
||||||
|
|
Loading…
Reference in a new issue