mirror of https://github.com/ArduPilot/ardupilot
Changed the marker for Group parameters to @Group.
This commit is contained in:
parent
155928adef
commit
cb6f97fc7f
|
@ -179,18 +179,18 @@ static const AP_Param::Info var_info[] PROGMEM = {
|
|||
|
||||
// variables not in the g class which contain EEPROM saved variables
|
||||
|
||||
// @Lib: COMPASS_
|
||||
// @Group: COMPASS_
|
||||
// @Path: ../libraries/AP_Compass/Compass.cpp
|
||||
GOBJECT(compass, "COMPASS_", Compass),
|
||||
|
||||
GOBJECT(gcs0, "SR0_", GCS_MAVLINK),
|
||||
GOBJECT(gcs3, "SR3_", GCS_MAVLINK),
|
||||
|
||||
// @Lib: IMU_
|
||||
// @Group: IMU_
|
||||
// @Path: ../libraries/AP_IMU/IMU.cpp
|
||||
GOBJECT(imu, "IMU_", IMU),
|
||||
|
||||
// @Lib: AP_AHRS_
|
||||
// @Group: AHRS_
|
||||
// @Path: ../libraries/AP_AHRS/AP_AHRS_DCM.cpp, ../libraries/AP_AHRS/AP_AHRS_Quaternion.cpp
|
||||
GOBJECT(ahrs, "AHRS_", AP_AHRS),
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
public const string ParamDelimeter = "@";
|
||||
public const string PathDelimeter = ",";
|
||||
public const string Param = "Param";
|
||||
public const string Lib = "Lib";
|
||||
public const string Group = "Group";
|
||||
public const string Path = "Path";
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace ArdupilotMega.Utilities
|
|||
/// <param name="parameterLocation">The parameter location.</param>
|
||||
private static void ParseLibInformation(string fileContents, XmlTextWriter objXmlTextWriter, string parameterLocation)
|
||||
{
|
||||
var parsedInformation = ParseKeyValuePairs(fileContents, ParameterMetaDataConstants.Lib);
|
||||
var parsedInformation = ParseKeyValuePairs(fileContents, ParameterMetaDataConstants.Group);
|
||||
if (parsedInformation != null && parsedInformation.Count > 0)
|
||||
{
|
||||
// node is the prefix of the parameter group here
|
||||
|
|
Loading…
Reference in New Issue