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 StableModeConfigVm : ConfigWithPidsBase
|
2010-12-18 18:23:09 -04:00
|
|
|
{
|
2011-02-13 05:25:54 -04:00
|
|
|
public StableModeConfigVm()
|
2010-12-18 18:23:09 -04:00
|
|
|
{
|
2011-02-14 10:48:47 -04:00
|
|
|
updateString = "A";
|
|
|
|
refreshString = "B";
|
|
|
|
|
2010-12-18 18:23:09 -04:00
|
|
|
PropsInUpdateOrder = new[]
|
|
|
|
{
|
|
|
|
"RollP",
|
|
|
|
"RollI",
|
|
|
|
"RollD",
|
|
|
|
"PitchP",
|
|
|
|
"PitchI",
|
|
|
|
"PitchD",
|
|
|
|
"YawP",
|
|
|
|
"YawI",
|
|
|
|
"YawD",
|
|
|
|
"KPrate",
|
|
|
|
"MagnetometerEnable",
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2010-12-20 18:14:39 -04:00
|
|
|
public float KPrate { get; set; }
|
2010-12-18 18:23:09 -04:00
|
|
|
|
2011-02-14 10:48:47 -04:00
|
|
|
public bool MagnetometerEnable { get; set; }
|
2010-12-18 18:23:09 -04:00
|
|
|
|
2011-02-14 10:48:47 -04:00
|
|
|
public override string Name
|
2011-02-13 05:25:54 -04:00
|
|
|
{
|
|
|
|
get { return "Stable Mode"; }
|
2010-12-18 18:23:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|