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 49a0aa7036
commit 6c1d651caa

View File

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