找回密码
 马上注册

QQ登录

只需一步,快速开始

查看: 5946|回复: 2

计算机与NXT机器人进行交互控制

[复制链接]
发表于 2008-9-13 10:49:18 | 显示全部楼层 |阅读模式
This week's Robot Inspiration might sound a little advanced: make a robot that interacts with the computer. However, this can actually be quite easy, while opening up a host of new applications. As I posted about here and here, you can use RoboRealm to easily make robots interact with the computer in a variety of ways. Now RoboRealm has added more computer capability to their software.

计算机如何与NXT机器人进行交互式控制,NXT蓝牙功能为我们提供这个功能,当然还需要一个软件ROBOREALM,(从这里下载
http://www.roborealm.com/),下载这个软件,并运行它,就可以与NXT进行交互式控制了

Keyboard: Besides taking input from the keyboard, you can make a robot control the keyboard. In other words, I could have my robot write a post on this blog! In terms of taking input from the keyboard, here's a video of a "NXT Messenger" I made using RoboRealm. With the range of BT, I can type a message up here in my room, and my mom can read it in the kitchen, two floors down, on the NXT brick!

键盘控制:我可以使用NXT控制键盘的输入,也就是说,我可以使用NXT在电脑上输入我想要输入的文字。

Mouse: Now RoboRealm lets you get the coordinates of a computer mouse and even control the mouse. Here's a video of my computer mouse controlling a cursor on the NXT screen:

鼠标控制

EDIT: You can get the two .robo (RoboRealm) files
here and here (to get them you'll need to right-click->Save Target As). You can get the two NXT-G programs here and here. Just to clarify what goes on, the .robo files read inputs from the computer and send the data to the NXT brick via BT, and the NXT-G files recieve the data and control the actual behaviors of the NXT Brick.

你可以下载控制键盘和鼠标的两个ROBOREALM文件
http://www.teambuiltontherock.org/Media/Computer_Control.robo
http://www.teambuiltontherock.org/Media/Mouse_Control.robo

下载NXT程序
http://www.teambuiltontherock.org/Media/TextOutput.rbt

其实NXT的蓝牙传输功能可以为NXT进行更过功能的扩展,同时也可以使用C语言,VB对NXT开发出
二次软件,因为NXT为我们的程序员提供了全部的源代码,LEGO的平台真的很大,从小学到大学。
从硬件到软件,从基础到高级,从初学者到发烧友,LEGO都适合你。
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
发表于 2009-3-16 10:17:35 | 显示全部楼层
Magic正在使用Roborealm,一句话:这个软件相当强大。
但是由于涉及了图像处理,所以运行速度有点儿慢,所以正在考虑Roborealm+NXC的并行处理,有兴趣的同学可以一起探讨一下
My blog: http://magiclandforever.blog.sohu.com/
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

发表于 2012-4-13 11:20:49 | 显示全部楼层
学习中,谢谢!
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 马上注册

本版积分规则

QQ|手机版|中文乐高 ( 桂ICP备13001575号-7 )

GMT+8, 2024-6-8 13:15 , Processed in 0.084982 second(s), 19 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表