Make max tilt and max angle rates MAVLink parameters

Also decrease default max yaw rate to 300 degrees
This commit is contained in:
Oleg Kalachev
2025-01-10 06:00:06 +03:00
parent 0a45614751
commit 95824e3b75
2 changed files with 14 additions and 8 deletions

View File

@@ -36,6 +36,10 @@ Parameter parameters[] = {
{"PITCH_I", &pitchPID.i},
{"PITCH_D", &pitchPID.d},
{"YAW_P", &yawPID.p},
{"PITCHRATE_MAX", &maxRate.y},
{"ROLLRATE_MAX", &maxRate.x},
{"YAWRATE_MAX", &maxRate.z},
{"TILT_MAX", &tiltMax},
// imu
{"ACC_BIAS_X", &accBias.x},
{"ACC_BIAS_Y", &accBias.y},