|
|
@@ -137,7 +137,7 @@
|
|
|
<RowDefinition Height="*"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
-
|
|
|
+
|
|
|
<Grid Grid.Row="0" Margin="15">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
@@ -212,7 +212,7 @@
|
|
|
BorderBrush="{Binding SteeringLeftBrushProperty}"
|
|
|
BorderThickness="5"
|
|
|
Command="{Binding SteeringMoveCommand}"
|
|
|
- CommandParameter="CW" >
|
|
|
+ CommandParameter="CW" >
|
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="ArrowLeft" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
<TextBlock Text="Steering Left" VerticalAlignment="Stretch" HorizontalAlignment="Center" FontSize="20"/>
|
|
|
@@ -229,7 +229,7 @@
|
|
|
BorderBrush="{Binding SteeringRightBrushProperty}"
|
|
|
BorderThickness="5"
|
|
|
Command="{Binding SteeringMoveCommand}"
|
|
|
- CommandParameter="CCW">
|
|
|
+ CommandParameter="CCW">
|
|
|
<StackPanel>
|
|
|
<materialDesign:PackIcon Kind="ArrowRight" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
<TextBlock Text="Steering Right" VerticalAlignment="Stretch" HorizontalAlignment="Center" FontSize="18"/>
|
|
|
@@ -245,9 +245,9 @@
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
-
|
|
|
+
|
|
|
<Border BorderThickness="1" BorderBrush="#FF00FFD3" Margin="15,0,10,169" Grid.ColumnSpan="3"></Border>
|
|
|
-
|
|
|
+
|
|
|
<Grid Grid.Column="0" Margin="20">
|
|
|
<RepeatButton
|
|
|
HorizontalAlignment="Right"
|
|
|
@@ -298,7 +298,7 @@
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
- <!--<Grid Grid.Row="1">
|
|
|
+ <!--<Grid Grid.Row="1">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="*"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
@@ -316,14 +316,16 @@
|
|
|
<Border Margin="10,5,179,0" BorderBrush="#FF00FFD3" BorderThickness="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.RowSpan="2" Grid.Column="2"/>
|
|
|
<Border Margin="33,-2,34,82" BorderBrush="#FF00FFD3" BorderThickness="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.Column="2" Grid.ColumnSpan="3" Grid.RowSpan="2"/>
|
|
|
|
|
|
- --><!--<Button Grid.Column="0" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ -->
|
|
|
+ <!--<Button Grid.Column="0" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10">
|
|
|
<StackPanel>
|
|
|
<TextBlock HorizontalAlignment="Center"><Run Text="Target" FontSize="20"/></TextBlock>
|
|
|
<TextBlock HorizontalAlignment="Center"><Run Text="Pos" FontSize="20"/></TextBlock>
|
|
|
</StackPanel>
|
|
|
- </Button>--><!--
|
|
|
+ </Button>-->
|
|
|
+ <!--
|
|
|
|
|
|
<Button Grid.Column="0" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
@@ -335,7 +337,8 @@
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
|
|
|
- --><!--<Button Grid.Column="0" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ -->
|
|
|
+ <!--<Button Grid.Column="0" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10">
|
|
|
<StackPanel>
|
|
|
@@ -344,13 +347,14 @@
|
|
|
</StackPanel>
|
|
|
</Button>-->
|
|
|
|
|
|
- <!--<Button Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ <!--<Button Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Command="{Binding SelectAxisCommand}"
|
|
|
CommandParameter="Left">
|
|
|
<TextBlock><Run Text="Drive" FontSize="20"/></TextBlock>
|
|
|
- </Button>--><!--
|
|
|
+ </Button>-->
|
|
|
+ <!--
|
|
|
|
|
|
<Button Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
@@ -363,14 +367,16 @@
|
|
|
</StackPanel>
|
|
|
</Button>
|
|
|
|
|
|
- --><!--<Button Background="{x:Null}" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ -->
|
|
|
+ <!--<Button Background="{x:Null}" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10">
|
|
|
<Button.InputBindings>
|
|
|
<MouseBinding Gesture="LeftClick" Command="{Binding KeyInTargetPosCommand}" CommandParameter="Left"/>
|
|
|
</Button.InputBindings>
|
|
|
<TextBlock><Run Text="{Binding DriveTargetPos, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>--><!--
|
|
|
+ </Button>-->
|
|
|
+ <!--
|
|
|
|
|
|
<Button Background="{x:Null}" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
@@ -378,11 +384,13 @@
|
|
|
<TextBlock><Run Text="{Binding CurrentPosition, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
</Button>
|
|
|
|
|
|
- --><!--<Button Background="{x:Null}" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
+ -->
|
|
|
+ <!--<Button Background="{x:Null}" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Stretch" Margin="5" Height="auto"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
materialDesign:ButtonAssist.CornerRadius="10">
|
|
|
<TextBlock><Run Text="{Binding DifferenceDrive, StringFormat=0.000, FallbackValue=0.000}" FontSize="20"/></TextBlock>
|
|
|
- </Button>--><!--
|
|
|
+ </Button>-->
|
|
|
+ <!--
|
|
|
|
|
|
<StackPanel Grid.Column="2" Grid.Row="1" Grid.ColumnSpan="3" Grid.RowSpan="3" Orientation="Horizontal" HorizontalAlignment="Center" Margin="82,52,43,31" Width="379" >
|
|
|
|
|
|
@@ -416,7 +424,9 @@
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
- --><!--Jog Button--><!--
|
|
|
+ -->
|
|
|
+ <!--Jog Button-->
|
|
|
+ <!--
|
|
|
<RepeatButton
|
|
|
Margin="5"
|
|
|
Grid.Row="0"
|