mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_BattMonitor_Analog: add default PM definitions for the Navigator Board
This commit is contained in:
parent
ed61fd72f1
commit
0ed3acb24e
@ -51,6 +51,13 @@
|
||||
# define AP_BATT_VOLTDIVIDER_DEFAULT 11.3f
|
||||
# define AP_BATT_CURR_AMP_PERVOLT_DEFAULT 17.0f
|
||||
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIGATOR)
|
||||
# define AP_BATT_VOLT_PIN 5
|
||||
# define AP_BATT_CURR_PIN 4
|
||||
# define AP_BATT_VOLTDIVIDER_DEFAULT 11.0f
|
||||
# define AP_BATT_CURR_AMP_PERVOLT_DEFAULT 37.8788f
|
||||
# define AP_BATT_CURR_AMP_OFFSET_DEFAULT 0.330f
|
||||
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && (CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_EDGE)
|
||||
# define AP_BATT_VOLT_PIN 3
|
||||
# define AP_BATT_CURR_PIN 2
|
||||
|
Loading…
Reference in New Issue
Block a user