waited longer before arming

This commit is contained in:
Sem van der Hoeven
2023-04-28 18:25:22 +02:00
parent a3b0b761e7
commit 1224735954

View File

@@ -58,10 +58,10 @@ private:
void send_setpoint() void send_setpoint()
{ {
if (setpoint_count < 11) if (setpoint_count < 21)
setpoint_count++; setpoint_count++;
if (setpoint_count == 10) if (setpoint_count == 20)
{ {
// switch to offboard mode and arm // switch to offboard mode and arm