Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
Oleg Kalachev
2026-08-22 16:02:38 +03:00
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ void pause(float duration) {
float start = t; float start = t;
while (t - start < duration) { while (t - start < duration) {
step(); step();
handleInput(); handleConsole();
processMavlink(); processMavlink();
delay(50); delay(50);
} }
@@ -232,7 +232,7 @@ void doCommand(String str, bool echo = false) {
} }
} }
void handleInput() { void handleConsole() {
static bool showMotd = true; static bool showMotd = true;
static String input; static String input;
+1 -1
View File
@@ -39,7 +39,7 @@ void loop() {
estimate(); estimate();
control(); control();
sendMotors(); sendMotors();
handleInput(); handleConsole();
processMavlink(); processMavlink();
readVoltage(); readVoltage();
loopLog(); loopLog();
+1 -1
View File
@@ -45,7 +45,7 @@ void testMotor(int, float);
void print(const char* format, ...); void print(const char* format, ...);
void pause(float duration); void pause(float duration);
void doCommand(String str, bool echo); void doCommand(String str, bool echo);
void handleInput(); void handleConsole();
void setupRC(); void setupRC();
void normalizeRC(); void normalizeRC();
void calibrateRC(); void calibrateRC();
+1 -1
View File
@@ -84,7 +84,7 @@ public:
attitude.setYaw(this->model->WorldPose().Yaw()); attitude.setYaw(this->model->WorldPose().Yaw());
control(); control();
handleInput(); handleConsole();
processMavlink(); processMavlink();
applyMotorForces(); applyMotorForces();