mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
Add rc input to cli planner mode
This commit is contained in:
parent
10330abf54
commit
f66a6b4308
@ -36,6 +36,8 @@ planner_gcs(uint8_t argc, const Menu::arg *argv)
|
|||||||
|
|
||||||
gcs_update();
|
gcs_update();
|
||||||
|
|
||||||
|
read_radio();
|
||||||
|
|
||||||
gcs_data_stream_send(45, 1000);
|
gcs_data_stream_send(45, 1000);
|
||||||
|
|
||||||
if ((loopcount % 5) == 0) // 10 hz
|
if ((loopcount % 5) == 0) // 10 hz
|
||||||
|
@ -34,6 +34,9 @@ planner_gcs(uint8_t argc, const Menu::arg *argv)
|
|||||||
fast_loopTimer = millis();
|
fast_loopTimer = millis();
|
||||||
|
|
||||||
gcs_update();
|
gcs_update();
|
||||||
|
|
||||||
|
read_radio();
|
||||||
|
|
||||||
gcs_data_stream_send(45,1000);
|
gcs_data_stream_send(45,1000);
|
||||||
if ((loopcount % 5) == 0) // 10 hz
|
if ((loopcount % 5) == 0) // 10 hz
|
||||||
gcs_data_stream_send(5,45);
|
gcs_data_stream_send(5,45);
|
||||||
|
Loading…
Reference in New Issue
Block a user