Disarm the drone on simulator plugin reset

In order to reset yaw target.
This commit is contained in:
Oleg Kalachev
2025-10-07 15:45:30 +03:00
parent c4533e3ac8
commit 06ec5f3160

View File

@@ -59,6 +59,7 @@ public:
void OnReset() {
attitude = Quaternion(); // reset estimated attitude
armed = false;
__resetTime += __micros;
gzmsg << "Flix plugin reset" << endl;
}