🐛 Map rotation bound correct in rad

This commit is contained in:
Rune Harlyk
2025-12-25 13:36:24 +01:00
parent ba36bcc5a5
commit ed88e47944
+2 -2
View File
@@ -39,8 +39,8 @@ class KinConfig {
};
// Max constants
static constexpr float max_roll = 15 * (float)M_PI_2;
static constexpr float max_pitch = 15 * (float)M_PI_2;
static constexpr float max_roll = 15 * DEG2RAD_F;
static constexpr float max_pitch = 15 * DEG2RAD_F;
static constexpr float max_body_shift_x = W / 3;
static constexpr float max_body_shift_z = W / 3;