mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
930b09b286
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1219 f9c3cf11-9bcb-44bc-f272-b75c42450872
31 lines
807 B
C#
31 lines
807 B
C#
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)
|
|
{
|
|
PopulatePropsFromUpdate(strRx,true);
|
|
}
|
|
}
|
|
} |