Ejemplo n.º 1
0
        void car_evTargetSteeringWheelAngleChanged(object sender, TargetSteeringWheelAngleChangedEventArgs args)
        {
            double calculatedSteering = regulator.SetTargetValue(args.GetTargetWheelAngle());

            NewSteeringWheelSettingCalculatedEventHandler newWheelSteeringCalculatedEvent = evNewSteeringWheelSettingCalculated;
            if (newWheelSteeringCalculatedEvent != null)
            {
                newWheelSteeringCalculatedEvent(this, new NewSteeringWheelSettingCalculateddEventArgs(calculatedSteering));
            }
        }
Ejemplo n.º 2
0
        void car_evTargetSteeringWheelAngleChanged(object sender, TargetSteeringWheelAngleChangedEventArgs args)
        {
            double calculatedSteering = regulator.SetTargetValue(args.GetTargetWheelAngle());

            NewSteeringWheelSettingCalculatedEventHandler newWheelSteeringCalculatedEvent = evNewSteeringWheelSettingCalculated;

            if (newWheelSteeringCalculatedEvent != null)
            {
                newWheelSteeringCalculatedEvent(this, new NewSteeringWheelSettingCalculateddEventArgs(calculatedSteering));
            }
        }
Ejemplo n.º 3
0
 void Model_evTargetSteeringWheelAngleChanged(object sender, TargetSteeringWheelAngleChangedEventArgs args)
 {
     Model.CarInfo.TargetWheelAngle = args.GetTargetWheelAngle();
 }
Ejemplo n.º 4
0
 void Model_evTargetSteeringWheelAngleChanged(object sender, TargetSteeringWheelAngleChangedEventArgs args)
 {
     Model.CarInfo.TargetWheelAngle = args.GetTargetWheelAngle();
 }
Ejemplo n.º 5
0
 void Model_evTargetSteeringWheelAngleChanged(object sender, TargetSteeringWheelAngleChangedEventArgs args)
 {
     UpdateTextBlock(textBlock_targetAngle, args.GetTargetWheelAngle(), targetBrakeLabelData);
     //UpdateProgressBar(progressBar_rightDir, args.GetTargetWheelAngle,
 }
Ejemplo n.º 6
0
 void Model_evTargetSteeringWheelAngleChanged(object sender, TargetSteeringWheelAngleChangedEventArgs args)
 {
     UpdateTextBlock(textBlock_targetAngle, args.GetTargetWheelAngle(), targetBrakeLabelData);
     //UpdateProgressBar(progressBar_rightDir, args.GetTargetWheelAngle, 
 }