|
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都适合你。 |
|