mirror of
https://gitee.com/dashuaibran/jyker
synced 2025-11-04 13:29:41 +08:00
修改电路板连接
This commit is contained in:
parent
6eda527707
commit
1e58d495d2
Binary file not shown.
Binary file not shown.
@ -131,7 +131,7 @@ namespace BigProject
|
|||||||
|
|
||||||
}
|
}
|
||||||
//循环运动机械臂
|
//循环运动机械臂
|
||||||
bool JointLoopIsRun = false;
|
bool JointLoopIsRun = false;
|
||||||
private void bt_MoveLoop_Click(object sender, RoutedEventArgs e)
|
private void bt_MoveLoop_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (JointLoopIsRun) return;
|
if (JointLoopIsRun) return;
|
||||||
@ -527,12 +527,20 @@ namespace BigProject
|
|||||||
private void UpdateClawMsg(double angle,double length,double power)
|
private void UpdateClawMsg(double angle,double length,double power)
|
||||||
{
|
{
|
||||||
this.Dispatcher.Invoke(() => {
|
this.Dispatcher.Invoke(() => {
|
||||||
//pg_ClawAngle.Value = angle;
|
try
|
||||||
pg_ClawLength.Value = length;
|
{
|
||||||
pg_ClawPower.Value = power;
|
//pg_ClawAngle.Value = angle;
|
||||||
tb_ClawAngle.Text = $"{angle}°";
|
pg_ClawLength.Value = length;
|
||||||
tb_ClawLength.Text = $"{length}mm";
|
pg_ClawPower.Value = power;
|
||||||
tb_ClawPower.Text = $"{power}";
|
tb_ClawAngle.Text = $"{angle}°";
|
||||||
|
tb_ClawLength.Text = $"{length}mm";
|
||||||
|
tb_ClawPower.Text = $"{power}";
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
Log.Error(e);
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user