This commit is contained in:
trung09122002
2026-09-22 17:28:01 +07:00
parent f17dbdce2b
commit dbcbf84dc3
4 changed files with 33 additions and 25 deletions

View File

@@ -52,8 +52,9 @@ double LiftMagnitude(double v, double floor) {
} // namespace
// Kep ve [-1, 1], KHONG dao dau. Xem gamepad.h: da thu dao va robot that cho
// thay nguoc ca hai truc.
// Kep ve [-1, 1], KHONG dao dau. Phep dao nam o `invert_linear` /
// `invert_angular` trong config -- va tren robot nay ca hai deu PHAI bat.
// Xem gamepad.h.
//
// Kep can that: int16 nho nhat la -32768, chia 32767 ra -1.00003.
double NormalizeJoydevAxis(int16_t raw) {