commander: reboot/shutdown usability fixes

- always check with state machine before reboot/shutdown
 - respect BOARD_HAS_POWER_CONTROL (shutdown from command, low battery, power button)
 - px4_shutdown_request add optional delay and always execute from HPWORK
 - px4_shutdown_request split out px4_reboot_request
This commit is contained in:
Daniel Agar
2020-05-04 12:33:31 -04:00
parent 45ebbb895a
commit 746a8f5cf9
96 changed files with 332 additions and 528 deletions

View File

@@ -107,7 +107,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
tests # tests and test runner
top
topic_listener

View File

@@ -109,7 +109,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
tests # tests and test runner
top
topic_listener

View File

@@ -82,7 +82,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
top
topic_listener
tune_control

View File

@@ -108,7 +108,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
tests # tests and test runner
top
topic_listener

View File

@@ -93,7 +93,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
top
topic_listener
tune_control

View File

@@ -103,7 +103,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
tests # tests and test runner
top
topic_listener

View File

@@ -82,7 +82,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
top
topic_listener
tune_control

View File

@@ -108,7 +108,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
tests # tests and test runner
top
topic_listener

View File

@@ -109,7 +109,6 @@ px4_add_board(
reboot
reflect
sd_bench
shutdown
tests # tests and test runner
top
topic_listener