mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 07:01:35 +08:00
sih param names cleanup
This commit is contained in:
@@ -217,11 +217,11 @@ private:
|
|||||||
(ParamFloat<px4::params::SIH_L_PITCH>) _sih_l_pitch,
|
(ParamFloat<px4::params::SIH_L_PITCH>) _sih_l_pitch,
|
||||||
(ParamFloat<px4::params::SIH_KDV>) _sih_kdv,
|
(ParamFloat<px4::params::SIH_KDV>) _sih_kdv,
|
||||||
(ParamFloat<px4::params::SIH_KDW>) _sih_kdw,
|
(ParamFloat<px4::params::SIH_KDW>) _sih_kdw,
|
||||||
(ParamInt<px4::params::SIHG_LAT0>) _sih_lat0,
|
(ParamInt<px4::params::SIH__LAT0>) _sih_lat0,
|
||||||
(ParamInt<px4::params::SIHG_LON0>) _sih_lon0,
|
(ParamInt<px4::params::SIH__LON0>) _sih_lon0,
|
||||||
(ParamFloat<px4::params::SIHG_H0>) _sih_h0,
|
(ParamFloat<px4::params::SIH__H0>) _sih_h0,
|
||||||
(ParamFloat<px4::params::SIHG_MU_X>) _sih_mu_x,
|
(ParamFloat<px4::params::SIH__MU_X>) _sih_mu_x,
|
||||||
(ParamFloat<px4::params::SIHG_MU_Y>) _sih_mu_y,
|
(ParamFloat<px4::params::SIH__MU_Y>) _sih_mu_y,
|
||||||
(ParamFloat<px4::params::SIHG_MU_Z>) _sih_mu_z
|
(ParamFloat<px4::params::SIH__MU_Z>) _sih_mu_z
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ PARAM_DEFINE_FLOAT(SIH_KDW, 0.025f);
|
|||||||
* @max 850000000
|
* @max 850000000
|
||||||
* @group Simulation In Hardware
|
* @group Simulation In Hardware
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(SIHG_LAT0, 454671160);
|
PARAM_DEFINE_INT32(SIH__LAT0, 454671160);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initial geodetic longitude
|
* Initial geodetic longitude
|
||||||
@@ -261,7 +261,7 @@ PARAM_DEFINE_INT32(SIHG_LAT0, 454671160);
|
|||||||
* @max 1800000000
|
* @max 1800000000
|
||||||
* @group Simulation In Hardware
|
* @group Simulation In Hardware
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(SIHG_LON0, -737578370);
|
PARAM_DEFINE_INT32(SIH__LON0, -737578370);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initial AMSL ground altitude
|
* Initial AMSL ground altitude
|
||||||
@@ -282,7 +282,7 @@ PARAM_DEFINE_INT32(SIHG_LON0, -737578370);
|
|||||||
* @increment 0.01
|
* @increment 0.01
|
||||||
* @group Simulation In Hardware
|
* @group Simulation In Hardware
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_FLOAT(SIHG_H0, 32.34f);
|
PARAM_DEFINE_FLOAT(SIH__H0, 32.34f);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* North magnetic field at the initial location
|
* North magnetic field at the initial location
|
||||||
@@ -302,7 +302,7 @@ PARAM_DEFINE_FLOAT(SIHG_H0, 32.34f);
|
|||||||
* @increment 0.001
|
* @increment 0.001
|
||||||
* @group Simulation In Hardware
|
* @group Simulation In Hardware
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_FLOAT(SIHG_MU_X, 0.179f);
|
PARAM_DEFINE_FLOAT(SIH__MU_X, 0.179f);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* East magnetic field at the initial location
|
* East magnetic field at the initial location
|
||||||
@@ -322,7 +322,7 @@ PARAM_DEFINE_FLOAT(SIHG_MU_X, 0.179f);
|
|||||||
* @increment 0.001
|
* @increment 0.001
|
||||||
* @group Simulation In Hardware
|
* @group Simulation In Hardware
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_FLOAT(SIHG_MU_Y, -0.045f);
|
PARAM_DEFINE_FLOAT(SIH__MU_Y, -0.045f);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Down magnetic field at the initial location
|
* Down magnetic field at the initial location
|
||||||
@@ -342,4 +342,4 @@ PARAM_DEFINE_FLOAT(SIHG_MU_Y, -0.045f);
|
|||||||
* @increment 0.001
|
* @increment 0.001
|
||||||
* @group Simulation In Hardware
|
* @group Simulation In Hardware
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_FLOAT(SIHG_MU_Z, 0.504f);
|
PARAM_DEFINE_FLOAT(SIH__MU_Z, 0.504f);
|
||||||
Reference in New Issue
Block a user