ardupilot/Configurator/Configurator.Net/PresentationModels/ConfigWithPidsBase.cs
2011-01-26 21:17:44 +00:00

33 lines
876 B
C#

using System;
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; }
public ConfigWithPidsBase(IComms sp) : base(sp)
{
}
protected override void OnStringReceived(string strRx)
{
Console.WriteLine("Badoosh strnig rxd");
PopulatePropsFromUpdate(strRx,true);
}
}
}