forked from Archive/PX4-Autopilot
Default parameters updated for position_estimator_inav and multirotor_pos_control
This commit is contained in:
parent
46aadb96b6
commit
e4b25f8570
|
@ -51,8 +51,8 @@ PARAM_DEFINE_FLOAT(MPC_ALT_RATE_MAX, 3.0f);
|
|||
PARAM_DEFINE_FLOAT(MPC_POS_P, 0.1f);
|
||||
PARAM_DEFINE_FLOAT(MPC_POS_I, 0.0f);
|
||||
PARAM_DEFINE_FLOAT(MPC_POS_D, 0.2f);
|
||||
PARAM_DEFINE_FLOAT(MPC_POS_RATE_MAX, 3.0f);
|
||||
PARAM_DEFINE_FLOAT(MPC_SLOPE_MAX, 0.3f);
|
||||
PARAM_DEFINE_FLOAT(MPC_POS_RATE_MAX, 10.0f);
|
||||
PARAM_DEFINE_FLOAT(MPC_SLOPE_MAX, 0.5f);
|
||||
|
||||
int parameters_init(struct multirotor_position_control_param_handles *h)
|
||||
{
|
||||
|
|
|
@ -43,9 +43,9 @@
|
|||
PARAM_DEFINE_INT32(INAV_USE_GPS, 1);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_ALT_BARO, 1.0f);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_ALT_ACC, 50.0f);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_POS_GPS_P, 1.0f);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_POS_GPS_V, 1.0f);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_POS_ACC, 50.0f);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_POS_GPS_P, 4.0f);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_POS_GPS_V, 0.0f);
|
||||
PARAM_DEFINE_FLOAT(INAV_W_POS_ACC, 10.0f);
|
||||
|
||||
int parameters_init(struct position_estimator_inav_param_handles *h)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue