资源简介
ABB机器人PC SDK二次开发,语音控制机器人运动

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Speech.Recognition;
using ABB.Robotics.Controllers;
using ABB.Robotics.Controllers.Discovery;
using ABB.Robotics.Controllers.RapidDomain;
using ABB.Robotics.Controllers.IOSystemDomain;
using ABB.Robotics.Controllers.MotionDomain;
namespace WindowsFormsApplication2
{using System.Speech.Recognition;
public partial class Form1 : Form
{
delegate void SetTextCallback(string text);
private SpeechRecognitionEngine SRE = new SpeechRecognitionEngine();
private NetworkScanner scanner = null;
private Controller controller = null;
// private Task[] tasks = null;
private NetworkWatcher networkwatcher = null;
// Controller acontroller = new Controller();
Mastership master = null;
void HandleFoundEvent(object sender NetworkWatcherEventArgs e)
{
this.Invoke(new EventHandler(AddControllerToListView) new object[] { this e });
}
private void AddControllerToListView(object sender NetworkWatcherEventArgs e)
{
ControllerInfo controllerInfo = e.Controller; ListViewItem item
= new ListViewItem(controllerInfo.IPAddress.ToString());
item.SubItems.Add(controllerInfo.Id); item.SubItems.Add(controllerInfo.Availability.ToString()); item.SubItems.Add(controllerInfo.IsVirtual.ToString()); item.SubItems.Add(controllerInfo.SystemName); item.SubItems.Add(controllerInfo.Version.ToString()); item.SubItems.Add(controllerInfo.ControllerName); this.listView1.Items.Add(item); item.Tag
= controllerInfo;
}
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender EventArgs e)
{
RapidData rd = controller.Rapid.GetRapidData(“T_ROB1“ “user“ “reg6“);
ABB.Robotics.Controllers.RapidDomain.Num rdreg1 = (ABB.Robotics.Controllers.RapidDomain.Num)rd.Value;
textBox1.Text = rdreg1.ToString();
}
private void Form1_Load(object sender EventArgs e)
{
this.scanner = new NetworkScanner();
this.scanner.Scan();
ControllerInfoCollection controllers = scanner.Controllers;
ListViewItem item = null;
foreach (ControllerInfo controllerInfo in controllers)
{
item = new ListViewItem(controllerInfo.IPAddress.ToString());
item.SubItems.Add(controllerInfo.Id);
item.SubItems.Add(controllerInfo.Availability.ToString());
item.SubItems.Add(controllerInfo.IsVirtual.ToString());
item.SubItems.Add(controllerInfo.SystemName)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-04-30 15:02 语音控制机器人\
文件 335038 2019-04-19 12:24 语音控制机器人\1600_606.rspag
目录 0 2019-04-30 14:59 语音控制机器人\WindowsFormsApplication2\
目录 0 2019-04-30 14:59 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\
文件 187 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\App.config
文件 11352 2018-06-05 12:37 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Form1.Designer.cs
文件 15599 2018-06-05 13:45 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Form1.cs
文件 5817 2018-06-05 12:37 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Form1.resx
文件 536 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Program.cs
目录 0 2019-04-30 14:59 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Properties\
文件 1372 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Properties\AssemblyInfo.cs
文件 2900 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Properties\Resources.Designer.cs
文件 5612 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Properties\Resources.resx
文件 1111 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Properties\Settings.Designer.cs
文件 249 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\Properties\Settings.settings
文件 4071 2018-06-04 12:41 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\WindowsFormsApplication2.csproj
目录 0 2019-04-30 14:59 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\
目录 0 2019-04-30 14:59 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\
文件 548864 2014-11-27 10:14 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\ABB.Robotics.Controllers.PC.dll
文件 1099546 2014-11-27 10:14 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\ABB.Robotics.Controllers.PC.xm
文件 238592 2014-11-27 10:09 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\RobotStudio.Services.RobApi.Desktop.dll
文件 306688 2014-11-27 10:09 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\RobotStudio.Services.RobApi.dll
文件 18944 2018-06-05 12:37 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe
文件 187 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe.config
文件 48640 2018-06-05 12:37 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.pdb
文件 24224 2018-06-05 13:49 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe
文件 187 2017-10-29 14:46 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.config
文件 490 2015-06-05 04:48 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.manifest
目录 0 2019-04-30 14:59 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\obj\
目录 0 2019-04-30 14:59 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\
文件 1453 2017-10-29 16:29 语音控制机器人\WindowsFormsApplication2\WindowsFormsApplication2\obj\Debug\DesignTimeResolveAssemblyReferences.cache
............此处省略16个文件信息
- 上一篇:浙江大学2018级计算机科学与技术专业培养方案
- 下一篇:RK DDR测试工具
相关资源
- 开源1A锂电池充电板TP4056原理图+PCB
- 开源电调BLHeli硬件PCB 4层板 2.5cm宽
- PCIe速度测试例程
- 基于xilinx FPGA的PCIe设计实战
- 基于PCIe的FPGA动态配置设计与实现
- 三星DDR800内存条PCB文件和原理图
- WPF USB 网络 串口 通信软件
- 实现小波变换例子 upcoef 函数
- B/S 网上订餐系统
- NE555电路应用原理图及PCB
- 教室管理系统.rar
- 51单片机PCB设计图
- PC -- 单片机的串口数据传输系统设计
- 小鸡快跑游戏.
- VPC3_DPV1源代码,Profibus
- PC 串口调试软件
-
分别适用于.NET fr
amework 2.0和4.0的E - 汽车租赁系统............................
- 单片机与PC机串口通讯仿真
- LPC线性预测分析及编码
- 德卡D8读写器关于读写感应卡的一些代
- pctolcd2002完美版460701
- verilog的PCI源代码,非常详细,顶层模
- PC-1D太阳能仿真软件
- 基于JM20329的SATA转USB 1394
- halcon 测量助手
- 智能寻迹机器人源程序及pcb图
- LDA 人脸识别
- 图片存储到数据库保存二进制文件并
- 自制测量电容的PCB
评论
共有 条评论