You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
822 B
32 lines
822 B
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) |
|
{ |
|
PopulatePropsFromUpdate(strRx,true); |
|
} |
|
} |
|
} |