update
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user