2011-01-26 17:17:44 -04:00
|
|
|
using System;
|
2010-12-18 18:23:09 -04:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
|
|
|
namespace ArducopterConfigurator.PresentationModels
|
|
|
|
{
|
|
|
|
public abstract class ConfigWithPidsBase : MonitorVm
|
|
|
|
{
|
|
|
|
|
|
|
|
public float RollP { get; set; }
|
|
|
|
public float RollI { get; set; }
|
|
|
|
public float RollD { get; set; }
|
|
|
|
|
|
|
|
public float PitchP { get; set; }
|
|
|
|
public float PitchI { get; set; }
|
|
|
|
public float PitchD { get; set; }
|
|
|
|
|
|
|
|
public float YawP { get; set; }
|
|
|
|
public float YawI { get; set; }
|
|
|
|
public float YawD { get; set; }
|
|
|
|
|
|
|
|
|
2010-12-20 18:14:39 -04:00
|
|
|
public ConfigWithPidsBase(IComms sp) : base(sp)
|
2010-12-18 18:23:09 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override void OnStringReceived(string strRx)
|
|
|
|
{
|
|
|
|
PopulatePropsFromUpdate(strRx,true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|