mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 14:53:33 +08:00
SITL Moved magic numbers for battery V div and A per V to px4_config.h
This commit is contained in:
committed by
Lorenz Meier
parent
a8b9c906f6
commit
99902807c9
@@ -54,6 +54,9 @@
|
||||
#define CONFIG_SCHED_LPWORK 1
|
||||
#define CONFIG_ARCH_BOARD_SITL 1
|
||||
|
||||
#define BOARD_BATTERY1_V_DIV (10.177939394f)
|
||||
#define BOARD_BATTERY1_A_PER_V (15.391030303f)
|
||||
|
||||
/** time in ms between checks for work in work queues **/
|
||||
#define CONFIG_SCHED_WORKPERIOD 50000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user