mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:58:53 +08:00
boards: add esc_battery to build
This commit is contained in:
@@ -71,6 +71,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
#esc_battery
|
||||||
#events
|
#events
|
||||||
fw_att_control
|
fw_att_control
|
||||||
fw_pos_control_l1
|
fw_pos_control_l1
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
fw_att_control
|
fw_att_control
|
||||||
fw_pos_control_l1
|
fw_pos_control_l1
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
fw_att_control
|
fw_att_control
|
||||||
fw_pos_control_l1
|
fw_pos_control_l1
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
fw_att_control
|
fw_att_control
|
||||||
fw_pos_control_l1
|
fw_pos_control_l1
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
fw_att_control
|
fw_att_control
|
||||||
fw_pos_control_l1
|
fw_pos_control_l1
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ using namespace time_literals;
|
|||||||
EscBattery::EscBattery() :
|
EscBattery::EscBattery() :
|
||||||
ModuleParams(nullptr),
|
ModuleParams(nullptr),
|
||||||
WorkItem(MODULE_NAME, px4::wq_configurations::lp_default),
|
WorkItem(MODULE_NAME, px4::wq_configurations::lp_default),
|
||||||
_battery(3, this)
|
_battery(1, this)
|
||||||
{
|
{
|
||||||
parameters_updated();
|
parameters_updated();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user