2011-02-13 05:25:54 -04:00
|
|
|
using System;
|
|
|
|
|
2010-12-18 18:23:09 -04:00
|
|
|
namespace ArducopterConfigurator.PresentationModels
|
|
|
|
{
|
2011-02-14 10:48:47 -04:00
|
|
|
public class PositionHoldConfigVm : ConfigWithPidsBase
|
2010-12-18 18:23:09 -04:00
|
|
|
{
|
2011-02-13 05:25:54 -04:00
|
|
|
public PositionHoldConfigVm()
|
2010-12-18 18:23:09 -04:00
|
|
|
{
|
2011-02-14 10:48:47 -04:00
|
|
|
updateString = "C";
|
|
|
|
refreshString = "D";
|
|
|
|
|
2010-12-18 18:23:09 -04:00
|
|
|
PropsInUpdateOrder = new[]
|
|
|
|
{
|
|
|
|
"RollP",
|
|
|
|
"RollI",
|
|
|
|
"RollD",
|
|
|
|
"PitchP",
|
|
|
|
"PitchI",
|
|
|
|
"PitchD",
|
|
|
|
"MaximumAngle",
|
|
|
|
"GeoCorrectionFactor",
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
public float MaximumAngle { get; set; }
|
|
|
|
|
|
|
|
public float GeoCorrectionFactor { get; set; }
|
|
|
|
|
2011-02-14 10:48:47 -04:00
|
|
|
public override string Name
|
2011-02-13 05:25:54 -04:00
|
|
|
{
|
|
|
|
get { return "Position Hold"; }
|
2010-12-18 18:23:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|