|
|
|
@ -1432,6 +1432,7 @@ int commander_thread_main(int argc, char *argv[])
@@ -1432,6 +1432,7 @@ int commander_thread_main(int argc, char *argv[])
|
|
|
|
|
pthread_attr_setstacksize(&commander_low_prio_attr, 2880); |
|
|
|
|
|
|
|
|
|
#ifndef __PX4_QURT |
|
|
|
|
// This is not supported by QURT (yet).
|
|
|
|
|
struct sched_param param; |
|
|
|
|
(void)pthread_attr_getschedparam(&commander_low_prio_attr, ¶m); |
|
|
|
|
|
|
|
|
@ -2195,7 +2196,7 @@ int commander_thread_main(int argc, char *argv[])
@@ -2195,7 +2196,7 @@ int commander_thread_main(int argc, char *argv[])
|
|
|
|
|
if (!status.rc_input_blocked && sp_man.timestamp != 0 && |
|
|
|
|
(hrt_absolute_time() < sp_man.timestamp + (uint64_t)(rc_loss_timeout * 1e6f))) { |
|
|
|
|
#else |
|
|
|
|
// HACK: remove old data check due to timestamp issue in QURT
|
|
|
|
|
// XXX HACK: remove old data check due to timestamp issue in QURT
|
|
|
|
|
if (!status.rc_input_blocked && sp_man.timestamp != 0) { |
|
|
|
|
#endif |
|
|
|
|
/* handle the case where RC signal was regained */ |
|
|
|
|