SITL:make MAG1 param consistent names

This commit is contained in:
Henry Wurzburg 2023-01-15 15:24:09 -06:00 committed by Andrew Tridgell
parent 12c24df476
commit 509d4b7fbf
1 changed files with 4 additions and 4 deletions

View File

@ -455,12 +455,12 @@ const AP_Param::GroupInfo SIM::var_mag[] = {
AP_GROUPINFO("MAG_RND", 1, SIM, mag_noise, 0),
AP_GROUPINFO("MAG_MOT", 2, SIM, mag_mot, 0),
AP_GROUPINFO("MAG_DELAY", 3, SIM, mag_delay, 0),
AP_GROUPINFO("MAG_OFS", 4, SIM, mag_ofs[0], 0),
AP_GROUPINFO("MAG1_OFS", 4, SIM, mag_ofs[0], 0),
AP_GROUPINFO("MAG_ALY", 5, SIM, mag_anomaly_ned, 0),
AP_GROUPINFO("MAG_ALY_HGT", 6, SIM, mag_anomaly_hgt, 1.0f),
AP_GROUPINFO("MAG_DIA", 7, SIM, mag_diag[0], 0),
AP_GROUPINFO("MAG_ODI", 8, SIM, mag_offdiag[0], 0),
AP_GROUPINFO("MAG_ORIENT", 9, SIM, mag_orient[0], 0),
AP_GROUPINFO("MAG1_DIA", 7, SIM, mag_diag[0], 0),
AP_GROUPINFO("MAG1_ODI", 8, SIM, mag_offdiag[0], 0),
AP_GROUPINFO("MAG1_ORIENT", 9, SIM, mag_orient[0], 0),
AP_GROUPINFO("MAG1_SCALING", 10, SIM, mag_scaling[0], 1),
AP_GROUPINFO("MAG1_DEVID", 11, SIM, mag_devid[0], 97539),
AP_GROUPINFO("MAG2_DEVID", 12, SIM, mag_devid[1], 131874),