mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Keep the t variable monotonic in the simulation
Otherwise it causes stopping sending MAVLink and other bugs
This commit is contained in:
@@ -55,6 +55,7 @@ public:
|
||||
|
||||
void OnReset() {
|
||||
attitude = Quaternion(); // reset estimated attitude
|
||||
__resetTime += __micros;
|
||||
gzmsg << "Flix plugin reset" << endl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user