Make simulator read RC through real drone code

This commit is contained in:
Oleg Kalachev
2024-01-06 00:09:29 +03:00
parent 476f24f774
commit 48ea797a47
3 changed files with 5 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ public:
acc = this->accFilter.update(flu2frd(imu->LinearAcceleration()));
// read rc
joystickGet();
readRC();
controls[RC_CHANNEL_MODE] = 1; // 0 acro, 1 stab
controls[RC_CHANNEL_AUX] = 1; // armed