Valid range for some parameters

This is a minor issue, But I like to suggest the valid range check for some important parameters.

  1. ATC_RATE_R_MAX, ATC_RATE_P_MAX, and ATC_RATE_Y_MAX parameters require the valid range check. This is because if users assign a negative value (such as -1) to one of these parameters, it makes AC losing control and crash.

  2. Assigning a big number to ATC_INPUT_TC makes the drone stuck.

  3. Assigning a negative value to PSC_VELXY_IMAX makes the drone unstable.

  4. Assigning 20 to LOIT_SPEED, it makes the drone unstable, developers have to narrow the range.