public CameraViewModel(IMotorControl motorControl,IHornControl hornControl,IBrakeControl brakeControl) { _hornControl = hornControl; _motorControl = motorControl; _brakeControl = brakeControl; SpeedFeedback.PropertyChanged += (s,e) => { RaisePropertyChanged("speed");}; DirectionFeedback.PropertyChanged += (s, e) => { RaisePropertyChanged("direction_angle"); }; motorKeys = new List<Key>() {Key.W,Key.A,Key.S,Key.D}; }
public CameraViewModel(IMotorControl motorControl, IHornControl hornControl, IBrakeControl brakeControl) { _hornControl = hornControl; _motorControl = motorControl; _brakeControl = brakeControl; SpeedFeedback.PropertyChanged += (s, e) => { RaisePropertyChanged("speed"); }; DirectionFeedback.PropertyChanged += (s, e) => { RaisePropertyChanged("direction_angle"); }; motorKeys = new List <Key>() { Key.W, Key.A, Key.S, Key.D }; }
public SpeechInterpretation(IMotorControl motorControl,IHeadlightControl headlightControl,IHornControl hornControl) { _motorControl = motorControl; _headlightControl = headlightControl; _hornControl = hornControl; }
public SpeechInterpretation(IMotorControl motorControl, IHeadlightControl headlightControl, IHornControl hornControl) { _motorControl = motorControl; _headlightControl = headlightControl; _hornControl = hornControl; }